checkDeviceVersion method
Checks the current device OS version.
Returns the device OS version as a string. Returns empty string if version cannot be determined.
Implementation
@override
Future<String> checkDeviceVersion() async {
return await methodChannel.invokeMethod<String>('getPlatformVersion') ?? "";
}