stopChangeNotify method

Future<bool> stopChangeNotify()

Disables asset change notifications.

Remember to remove all callback functions for changes.

Implementation

/// Disables asset change notifications.
///
/// Remember to remove all callback functions for changes.
/// {@endtemplate}
Future<bool> stopChangeNotify() async {
  final bool result = await plugin.notifyChange(start: false);
  if (result) {
    _controller.add(false);
    _channel.setMethodCallHandler(null);
  }
  return result;
}