EnvironmentModel class

Inheritance

Constructors

EnvironmentModel({required String appVersion, required String runtimeVersion, required String osName, required String osVersion, required String deviceModel, required bool isPhysicalDevice, required int freeRamMb, required int totalRamMb, required int batteryLevel, required bool isLowMemory})
EnvironmentModel.fromEntity(Environment environment)
factory

Properties

appVersion → String
finalinherited
batteryLevel → int
finalinherited
deviceModel → String
finalinherited
freeRamMb → int
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
isLowMemory → bool
finalinherited
isPhysicalDevice → bool
finalinherited
osName → String
finalinherited
osVersion → String
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
runtimeVersion → String
finalinherited
totalRamMb → int
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited