StartScreenshotStreamCommand constructor
StartScreenshotStreamCommand({})
Implementation
StartScreenshotStreamCommand({
String? id,
this.interval = const Duration(seconds: 5),
DateTime? timestamp,
}) : assert(interval.inSeconds >= 1),
super(
id: id,
payload: _toPayload(
interval: interval,
),
timestamp: timestamp,
type: kCommandType,
);