AnnounceDriverCommand constructor
AnnounceDriverCommand({})
Implementation
AnnounceDriverCommand({
required this.appIdentifier,
required this.driverId,
required this.driverName,
String? id,
required this.salt,
DateTime? timestamp,
}) : super(
id: id,
payload: _toPayload(
appIdentifier: appIdentifier,
driverId: driverId,
driverName: driverName,
salt: salt,
),
timestamp: timestamp,
type: kCommandType,
);