UpdateTaskRequest constructor

UpdateTaskRequest({
  1. String? id,
  2. String? name,
  3. String? description,
  4. Timestamp? dueAt,
  5. TaskStatus? status,
  6. bool? public,
  7. String? consistency,
})

Implementation

factory UpdateTaskRequest({
  $core.String? id,
  $core.String? name,
  $core.String? description,
  $21.Timestamp? dueAt,
  $24.TaskStatus? status,
  $core.bool? public,
  $core.String? consistency,
}) {
  final $result = create();
  if (id != null) {
    $result.id = id;
  }
  if (name != null) {
    $result.name = name;
  }
  if (description != null) {
    $result.description = description;
  }
  if (dueAt != null) {
    $result.dueAt = dueAt;
  }
  if (status != null) {
    $result.status = status;
  }
  if (public != null) {
    $result.public = public;
  }
  if (consistency != null) {
    $result.consistency = consistency;
  }
  return $result;
}