notify method

  1. @override
Future<bool?> notify(
  1. bool? state
)
override

Implementation

@override
Future<bool?> notify(bool? state) async{
  try {
    TextWriteReadController().appendText("notify $state");
    return await methodChannel.invokeMethod('notify', {'data': state});
  } catch(e) {
    TextWriteReadController().appendText(e.toString());
    rethrow;
  }
}