ZigbeeDeviceDiscovery class

Represents zigbee device discover settings.

Inheritance

Constructors

ZigbeeDeviceDiscovery.new({required ResourceType type, required String id, String idV1 = "", required Relative owner, required String status, ZigbeeDeviceDiscoveryAction? action})
Creates a ZigbeeDeviceDiscovery object.
ZigbeeDeviceDiscovery.empty()
Creates an empty ZigbeeDeviceDiscovery object.
ZigbeeDeviceDiscovery.fromJson(Map<String, dynamic> dataMap)
Creates a ZigbeeDeviceDiscovery object from the JSON response to a GET request.
factory

Properties

action ZigbeeDeviceDiscoveryAction?
Action being performed in this discovery.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
id String
Unique identifier representing a specific resource instance.
finalinherited
idV1 String
Clip v1 resource identifier.
final
originalType ResourceType
no setterinherited
owner Relative
Owner of the service, in case the owner service is deleted, the service also gets deleted
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String
Describes this device's status on the network.
final
type ResourceType
Type of the supported resource.
getter/setter pairinherited

Methods

copyWith({ResourceType? type, String? id, String? idV1, Relative? owner, String? status, Object? action = sentinelValue, bool copyOriginalValues = true}) ZigbeeDeviceDiscovery
Returns a copy of this object with its field values replaced by the ones provided to this method.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refreshOriginals() → void
Called after a successful PUT request, this method refreshed the "original" data in this object.
override
toJson({OptimizeFor optimizeFor = OptimizeFor.put}) Map<String, dynamic>
Converts this object into JSON format.
override
toString() String
A string representation of this object.
override

Operators

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

Constants

sentinelValue → const Object
Used in the copyWith method to check if nullable values are meant to be copied over.