destroyInter method Null safety

void destroyInter()

remove the inter from the dom

Implementation

static void destroyInter() {
  document.body?.nodes.remove(node);
}