setPlatform static method
Implementation
static Future setPlatform(
{required int platform,
required String appKey,
String? appSecret,
String? redirectURL}) async {
Map map = {
'platform': platform,
'appKey': appKey,
'appSecret': appSecret,
'redirectURL': redirectURL
}..removeWhere((key, value) => value == null);
_channel.invokeMethod('setPlatform', map);
}