isPlatformAuth method
判断是否授权
Implementation
Future<JShareResponse> isPlatformAuth(
{required JSharePlatform platform}) async {
print(flutterLog + "isPlatformAuth:");
Map map = Map();
map["platform"] = getStringFromEnum(platform);
Map<dynamic, dynamic>? resultMap =
await (_channel.invokeMapMethod("isPlatformAuth", map));
return JShareResponse.fromJson(resultMap);
}