DeviceInfoPlugin class

Provides device and operating system information.

Constructors

DeviceInfoPlugin()
No work is done when instantiating the plugin. It's safe to call this repeatedly or in performance-sensitive blocks.

Properties

androidInfo Future<AndroidDeviceInfo>
Information derived from android.os.Build.
no setter
hashCode int
The hash code for this object.
no setterinherited
iosInfo Future<IosDeviceInfo>
Information derived from UIDevice.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited