getPlatformVersion method
Gets the platform version.
Implementation
@override
Future<String> getPlatformVersion() async {
try {
return await methodChannel.invokeMethod('getPlatformVersion');
} catch (e) {
throw 'Failed to get platform version: $e';
}
}