dispose method

  1. @override
void dispose()
override

dispose

this method used to dispose controller in the map

Implementation

@override
void dispose() {
  if (!kIsWeb) {
    (osmBaseController as MobileOSMController).dispose();
  }
  super.dispose();
}