unbindPhoneNumber method

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

解绑手机号码

Implementation

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

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