StartLogStreamCommand constructor Null safety

StartLogStreamCommand(
  1. {String? id,
  2. Level level = Level.INFO,
  3. DateTime? timestamp}
)

Implementation

StartLogStreamCommand({
  String? id,
  this.level = Level.INFO,
  DateTime? timestamp,
}) : super(
        id: id,
        payload: _toPayload(
          level: level,
        ),
        timestamp: timestamp,
        type: kCommandType,
      );