Environment class

Implementers

Constructors

Environment({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})
const

Properties

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

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