FlutterDeviceInfoPlusPlugin class
Web implementation of FlutterDeviceInfoPlus
- Inheritance
-
- Object
- FlutterDeviceInfoPlusPlatform
- FlutterDeviceInfoPlusPlugin
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getBatteryInfo(
) → Future< BatteryInfo?> -
Gets current battery information.
override
-
getDeviceInfo(
) → Future< DeviceInformation> -
Gets comprehensive device information.
override
-
getNetworkInfo(
) → Future< NetworkInfo> -
Gets current network information.
override
-
getSensorInfo(
) → Future< SensorInfo> -
Gets information about available sensors on the device.
override
-
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
Static Methods
-
registerWith(
Registrar registrar) → void - Registar the plugin with the Flutter engine