MoveDevice class

Move discoverable device

Constructors

MoveDevice(String name, String data, bool isConnected, String displayName, MoveDeviceState state)

Properties

data ↔ String
Raw device data.
getter/setter pair
displayName ↔ String
Raw device data.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
isConnected ↔ bool
Is device paired.
getter/setter pair
name ↔ String
Device name sent to server.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state ↔ MoveDeviceState
Device state update after synchronization failure.
getter/setter pair

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

Static Methods

fromNative(List devices) → List<MoveDevice>
Convert devices from native code.
parseState(dynamic value) → MoveDeviceState
Convert a native device state value to MoveDeviceState.