MockSensorType enum

Inheritance

Constructors

MockSensorType(String value)
const

Values

ambientLight → const MockSensorType
const MockSensorType('ambient-light')
accelerometer → const MockSensorType
const MockSensorType('accelerometer')
linearAcceleration → const MockSensorType
const MockSensorType('linear-acceleration')
gravity → const MockSensorType
const MockSensorType('gravity')
gyroscope → const MockSensorType
const MockSensorType('gyroscope')
magnetometer → const MockSensorType
const MockSensorType('magnetometer')
uncalibratedMagnetometer → const MockSensorType
const MockSensorType('uncalibrated-magnetometer')
absoluteOrientation → const MockSensorType
const MockSensorType('absolute-orientation')
relativeOrientation → const MockSensorType
const MockSensorType('relative-orientation')
geolocation → const MockSensorType
const MockSensorType('geolocation')
proximity → const MockSensorType
const MockSensorType('proximity')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
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

Constants

values → const List<MockSensorType>
A constant List of the values in this enum, in order of their declaration.