setPlatformParams static method
Implementation
static Future<void> setPlatformParams(String platform, String sdkVersion) async{
try{
final arguments = {
"platform": platform,
"sdkVersion": sdkVersion
};
final result = await channel.invokeMethod('setPlatformParams', arguments);
debugPrint("result is $result");
} on PlatformException catch (e) {
debugPrint("Error: $e");
} catch (e) {
debugPrint("Error: $e");
}
}