getPlatformVersion method
Implementation
@override
Future<String?> getPlatformVersion() async {
try {
final version = methodChannel.invokeMethod<String>('getPlatformVersion');
return version;
} on PlatformException catch (e) {
print('getPlatformVersion fail: ${e.message}');
return "";
}
}