remove method

void remove()

Implementation

void remove() {
  if (context == null) {
    throw Exception("Context is null");
  }

  ScaffoldMessenger.of(context!).removeCurrentSnackBar();
}