PingCommand constructor

PingCommand({
  1. String? id,
  2. TestControllerState? testControllerState,
  3. TestDeviceInfo? testDeviceInfo,
  4. DateTime? timestamp,
})

Implementation

PingCommand({
  String? id,
  this.testControllerState,
  this.testDeviceInfo,
  DateTime? timestamp,
}) : super(
        id: id,
        payload: _toPayload(
          testControllerState: testControllerState,
          testDeviceInfo: testDeviceInfo,
        ),
        timestamp: timestamp,
        type: kCommandType,
      );