Resource class

Constructors

Resource({required String resourceId, required String deviceId, required String deviceParameter, String aliasParameter = '', int operationMode = 0, num operationValue = 0.0, OptionResource optionResource = const OptionResource(), DeviceIot? device})
Resource.fromJson(Map<String, dynamic> json)

Properties

aliasParameter → String
final
device ↔ DeviceIot?
getter/setter pair
deviceId → String
final
deviceParameter → String
final
hashCode → int
The hash code for this object.
no setterinherited
operationMode → int
final
operationValue → num
final
optionResource → OptionResource
final
resourceId → String
final
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
toString() → String
A string representation of this object.
inherited

Operators

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