DeviceInformationModel class Null safety
Device Information Model
- Inheritance
- Object
- DeviceInfo
- DeviceInformationModel
- Annotations
Constructors
- DeviceInformationModel({required dynamic model, required dynamic manufacturer, required dynamic version, required dynamic platform, required dynamic framework})
- Device Information
- DeviceInformationModel.empty()
- Empty device information
-
DeviceInformationModel.fromJson(Map<
String, dynamic> json) -
Device information from json
factory
Properties
- framework ↔ String
-
Framework
Flutter|ReactNative|Cordova
read / write, inherited - hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- manufacturer ↔ String
-
Device manufacturer
read / write, inherited
- model ↔ String
-
Device model
read / write, inherited
- platform ↔ String
-
Platform iOS | Android
read / write, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- version ↔ String
-
Device version
read / write, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toJson(
) → Json - Device information to json representation
-
toMap(
) → Map< String, dynamic> -
Return as
Map
inherited -
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited