stop method

  1. @override
Future<void> stop()
override

Implementation

@override
Future<void> stop() async {
  try {
    await methodChannel.invokeMethod("stop");
  } on PlatformException {
    //print("Stream stop error : $e");
  }
}