destroy method

  1. @override
Future<void> destroy()

Implementation

@override
Future<void> destroy() {
  _mediaPlayer = null;
  return _methodChannel.invokeMethod("destroy");
}