notifyChange method

Future<bool> notifyChange({
  1. required bool start,
})

Return true if the invoke succeed.

Implementation

Future<bool> notifyChange({required bool start}) async {
  await _channel.invokeMethod(
    PMConstants.mNotify,
    <String, dynamic>{'notify': start},
  );
  return true;
}