CommandLog constructor

CommandLog({
  1. CommandId? id,
  2. Command? command,
  3. CommandTarget? target,
  4. CommandTimeline? timeline,
})

Implementation

factory CommandLog({
  $43.CommandId? id,
  $43.Command? command,
  CommandTarget? target,
  CommandTimeline? timeline,
}) {
  final _result = create();
  if (id != null) {
    _result.id = id;
  }
  if (command != null) {
    _result.command = command;
  }
  if (target != null) {
    _result.target = target;
  }
  if (timeline != null) {
    _result.timeline = timeline;
  }
  return _result;
}