ScpDevice class

Constructors

ScpDevice({String deviceId = '', String deviceType = '', String deviceName = '', String ipAddress = '', bool isDefaultPasswordSet = false, String knownPassword = '', int currentPasswordNumber = 0, List<String> controlActions = const [], List<String> measureActions = const []})

Properties

controlActions List<String>
getter/setter pair
currentPasswordNumber int
getter/setter pair
deviceId String
getter/setter pair
deviceName String
getter/setter pair
deviceType String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
ipAddress String
getter/setter pair
isDefaultPasswordSet bool
getter/setter pair
knownPassword String
getter/setter pair
measureActions List<String>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override
updateFromDiscoverResponse(ScpResponseDiscover responseDiscover) → void

Operators

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

Static Methods

devicesfromJson(dynamic json) List<ScpDevice>