initPush method

  1. @override
Future initPush()
override

Implementation

@override
Future<dynamic> initPush() async {
  try {
    return await methodChannel.invokeMethod('initPush');
  } on PlatformException catch (error) {
    throw RegisterException(
      error: "${error.message}",
      errorCode: "10086",
    );
  }
}