AnnounceDeviceCommand constructor
AnnounceDeviceCommand({
- String? id,
- required TestDeviceInfo device,
- required String salt,
- required TestControllerState testControllerState,
- DateTime? timestamp,
Implementation
AnnounceDeviceCommand({
String? id,
required this.device,
required this.salt,
required this.testControllerState,
DateTime? timestamp,
}) : appIdentifier = device.appIdentifier,
super(
id: id,
payload: _toPayload(
appIdentifier: device.appIdentifier,
device: device,
salt: salt,
testControllerState: testControllerState,
),
timestamp: timestamp,
type: kCommandType,
);