FlutterDeviceInfoPlusPlugin class
Web implementation of FlutterDeviceInfoPlus
This class provides device information retrieval for web platforms using browser APIs and user agent parsing.
Constructors
- FlutterDeviceInfoPlusPlugin()
- Creates a new instance of FlutterDeviceInfoPlusPlugin
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
-
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
-
getBatteryInfo(
) → Future< Map< String, dynamic> ?> - Retrieves battery information for web platforms
-
getDeviceInfo(
) → Future< Map< String, dynamic> > - Retrieves comprehensive device information for web platforms
-
getNetworkInfo(
) → Future< Map< String, dynamic> > - Retrieves network information for web platforms
-
getSensorInfo(
) → Future< Map< String, dynamic> > - Retrieves sensor information for web platforms
-
registerWith(
) → void - Registers the plugin with the Flutter engine