getPlatformVersion method
Implementation
@override
Future<String?> getPlatformVersion() async {
try {
final version = await _channel.invokeMethod<String>('getPlatformVersion');
return version;
} catch (e) {
_log('Get platform version error: $e');
return 'Android (error)';
}
}