Scp class

Properties

hashCode int
The hash code for this object.
no setterinherited
knownDevices List<ScpDevice>
getter/setter pair
loggingEnabled bool
getter/setter pair
newDevices List<ScpDevice>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

control(String deviceId, String command) Future<ScpStatus>
doDiscover(String subnet, String mask) Future<ScpStatus>
doDiscoverThenDoProvisioning(String subnet, String mask, String ssid, String wifiPassword, String jsonPath) Future<ScpStatus>
doProvisioning(ScpDevice device, String ssid, String wifiPassword, String jsonPath) Future<ScpStatus>
doUpdate(String subnet, String mask, String jsonPath) Future<ScpStatus>
enableLogging() → void
knownDevicesFromFile(File file) → dynamic
knownDevicesFromJson(dynamic json) → void
log(String s) → void
measure(String deviceId, String action) Future<ScpStatusMeasure>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rename(String deviceId, String name) Future<ScpStatus>
resetToDefault(String deviceId) Future<ScpStatus>
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance Scp
getter/setter pair

Static Methods

getInstance() Scp