RequestScreenshotCommand constructor

RequestScreenshotCommand({
  1. required String deviceId,
  2. String? id,
  3. DateTime? timestamp,
})

Implementation

RequestScreenshotCommand({
  required this.deviceId,
  String? id,
  DateTime? timestamp,
}) : super(
        id: id,
        payload: _toPayload(
          deviceId: deviceId,
        ),
        timestamp: timestamp,
        type: kCommandType,
      );