FlutterDeviceInformation class

FlutterDeviceInformation use MethodChannel and then call the APIs of the Android platform to obtain the platform device related information. FlutterDeviceInformation:define a MethodChannel that named "com.awei.devices/flutter_device_information",used for communication with platform.

Constructors

FlutterDeviceInformation()

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited

Static Properties

boards → Future<String>
Get the board name of the native platform [...]
read-only
brands → Future<String>
Get the API version(SDKINT) of the native platform。 [...]
read-only
cpuAbis → Future<String>
Get the CPU ABI(CPU Type) of the native platform [...]
read-only
model → Future<String>
Get the model(Phone model or device name) of the native platform [...]
read-only
platformVersions → Future<String>
Get the platform version of the native platform [...]
read-only
sdkInts → Future<String>
Get the API version(SDKINT) of the native platform [...]
read-only