ZigbeeDeviceDiscovery constructor
ZigbeeDeviceDiscovery({
- required ResourceType type,
- required String id,
- String idV1 = "",
- required Relative owner,
- required String status,
- ZigbeeDeviceDiscoveryAction? action,
Creates a ZigbeeDeviceDiscovery object.
Implementation
ZigbeeDeviceDiscovery({
required super.type,
required super.id,
this.idV1 = "",
required this.owner,
required this.status,
this.action,
}) : assert(idV1.isEmpty || Validators.isValidIdV1(idV1),
'"$idV1" is not a valid `idV1`'),
_originalAction = action?.copyWith();