MyQ class

Constructors

MyQ()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

constructor() → dynamic
construct MyQ instance We use login() to establish connection
findDevice(String serialNumber) Map<String, dynamic>
getDevice(String serialNumber) Future<Map<String, dynamic>>
getDevices() Future<Map<String, dynamic>>
getDoorState(String serialNumber) Future<Map<String, dynamic>>
getLightState(String serialNumber) Future<Map<String, dynamic>>
login(String email, String password) Future<Map<String, dynamic>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setDoorState(String serialNumber, String action) Future<Map<String, dynamic>>
setLightState(String serialNumber, String action) Future<Map<String, dynamic>>
toString() String
A string representation of this object.
inherited

Operators

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

Constants

actions → const Map<String, Map<String, String>>
constants → const Map<String, Map<String, Object>>