getRegistrationID method
Implementation
@override
Future<TencentCloudChatPushResult> getRegistrationID() async {
try {
final res = await _methodChannel.invokeMethod("getRegistrationID");
return TencentCloudChatPushResult(code: 0, data: res);
} on PlatformException catch (e) {
return TencentCloudChatPushResult(
code: int.tryParse(e.code) ?? -1,
errorMessage: e.message,
);
}
}