getPlatformVersion method

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

Implementation

@override
Future<String> getPlatformVersion() async {
  final result =
      await methodChannel.invokeMethod<String>('getPlatformVersion');
  if (result == null) {
    throw "getPlatformVersion get null";
  }
  return result;
}