CommandAck constructor

CommandAck(
  1. {required String commandId,
  2. String? id,
  3. String? message,
  4. CommandResponse? response,
  5. bool? success,
  6. DateTime? timestamp}
)

Implementation

CommandAck({
  required this.commandId,
  String? id,
  this.message,
  this.response,
  this.success,
  DateTime? timestamp,
}) : super(
        id: id,
        payload: _toPayload(
          commandId: commandId,
          message: message,
          response: response,
          success: success,
        ),
        timestamp: timestamp,
        type: kCommandType,
      );