getAndroidDeviceInfo static method

Future<AndroidDeviceInfo> getAndroidDeviceInfo()

获取Android的deviceInfo

Implementation

static Future<AndroidDeviceInfo> getAndroidDeviceInfo() async {
  final deviceInfo = DeviceInfoPlugin();
  return await deviceInfo.androidInfo;
}