DeviceInfo class
Constructors
- DeviceInfo({required String model, required String brand, required String manufacturer, required String androidVersion, required int sdkVersion, required int displayWidth, required int displayHeight, required double displayDensity, required int displayDpi, required double displayXdpi, required double displayYdpi, required String displayOrientation, required double displayRefreshRate, required int batteryLevel, required String batteryStatus, required String batteryHealth, required int totalInternalStorage, required int freeInternalStorage, required int totalRam, required int availableRam, required String networkType, required bool isWifiConnected, required bool isMobileDataConnected, required String networkOperator, required String appName, required String packageName, required String version, required String buildNumber, required bool isEmulator, required bool isRooted, required bool isDeveloperModeEnabled, required bool isAdbEnabled, required bool hasAccelerometer, required bool hasGyroscope, required bool hasMagnetometer, required bool hasProximitySensor, required bool hasLightSensor, required int systemUptime, required String kernelVersion})
-
DeviceInfo.fromMap(Map<
Object?, Object?> map) -
factory
Properties
- androidVersion → String
-
final
- appName → String
-
final
- availableRam → int
-
final
- batteryHealth → String
-
final
- batteryLevel → int
-
final
- batteryStatus → String
-
final
- brand → String
-
final
- buildNumber → String
-
final
- displayDensity → double
-
final
- displayDpi → int
-
final
- displayHeight → int
-
final
- displayOrientation → String
-
final
- displayRefreshRate → double
-
final
- displayWidth → int
-
final
- displayXdpi → double
-
final
- displayYdpi → double
-
final
- freeInternalStorage → int
-
final
- hasAccelerometer → bool
-
final
- hasGyroscope → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasLightSensor → bool
-
final
- hasMagnetometer → bool
-
final
- hasProximitySensor → bool
-
final
- isAdbEnabled → bool
-
final
- isDeveloperModeEnabled → bool
-
final
- isEmulator → bool
-
final
- isMobileDataConnected → bool
-
final
- isRooted → bool
-
final
- isWifiConnected → bool
-
final
- kernelVersion → String
-
final
- manufacturer → String
-
final
- model → String
-
final
- networkOperator → String
-
final
- networkType → String
-
final
- packageName → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sdkVersion → int
-
final
- systemUptime → int
-
final
- totalInternalStorage → int
-
final
- totalRam → int
-
final
- version → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited