DeviceInfo class
Informacion del dispositivo, util para adaptar la UI y la guia de permisos.
Constructors
- DeviceInfo({required String manufacturer, required String brand, required String model, required int sdkInt, required String androidRelease, required OemFamily oem})
- DeviceInfo.fromMap(Map map)
-
factory
Properties
- androidRelease → String
-
Version de Android como cadena (ej.
"13").final - brand → String
-
Nombre de marca reportado por Android (ej.
"xiaomi","huawei").final - hashCode → int
-
The hash code for this object.
no setterinherited
- manufacturer → String
-
Nombre del fabricante del hardware (ej.
"Xiaomi","samsung").final - model → String
-
Nombre del modelo del dispositivo (ej.
"Redmi Note 10 Pro").final - oem → OemFamily
-
Familia OEM detectada, util para guiar al usuario hacia los ajustes del fabricante.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sdkInt → int
-
Nivel de API de Android (ej. 33 para Android 13).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited