getPlatformVersion method

  1. @override
Future<String?> getPlatformVersion()
override

for get device os version

Implementation

@override
Future<String?> getPlatformVersion() async {
  final version =
      await methodChannel.invokeMethod<String>('getPlatformVersion');
  return version;
}