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