unload method

Future<void> unload()

Implementation

Future<void> unload() async {
  print("Situm> unload() method called.");
  //if (!situmMapLoading) {
  // TODO: this needs furder analysis: native "unload" is only removing the view.
  print("Situm> MethodChannel will be invoked for unload().");
  await methodChannel.invokeMethod("unload");
  situmMapLoaded = false;
  situmMapLoading = false;
  //}
}