dispose method

Future dispose ()

destroy

Implementation

Future dispose() async {
  await _configChannel.invokeMethod("dispose", {});
  _platformView = null;
  _globalKey = null;
}