getAndroidSdkVersion method

  1. @override
Future<int> getAndroidSdkVersion()
override

Implementation

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

  return result;
}