androidInfo property

Future<AndroidDeviceInfo> androidInfo

Information derived from android.os.Build.

See: https://developer.android.com/reference/android/os/Build.html

Implementation

Future<AndroidDeviceInfo> get androidInfo async =>
    _cachedAndroidDeviceInfo ??= AndroidDeviceInfo._fromMap(
        await channel.invokeMapMethod<String, dynamic>(
            describeEnum(METHODS.ANDROID_INFO)));