CommandScheduled constructor Null safety

CommandScheduled(
  1. {CommandId? id,
  2. CommandContext_Schedule? schedule}
)

Implementation

factory CommandScheduled({
  $43.CommandId? id,
  $43.CommandContext_Schedule? schedule,
}) {
  final _result = create();
  if (id != null) {
    _result.id = id;
  }
  if (schedule != null) {
    _result.schedule = schedule;
  }
  return _result;
}