closeAndroidPushLog method

  1. @override
Future<Map> closeAndroidPushLog()
override

关闭 Android 推送日志

Implementation

@override
Future<Map<dynamic, dynamic>> closeAndroidPushLog() async {
  if (!Platform.isAndroid) {
    return {
      'code': kAliyunPushOnlyAndroid,
      'errorMsg': 'Only support Android',
    };
  }

  Map<dynamic, dynamic> result =
      await methodChannel.invokeMethod('closePushLog');
  return result;
}