GetPatientListResponse_Patient constructor

GetPatientListResponse_Patient({
  1. String? id,
  2. String? humanReadableIdentifier,
  3. GetPatientListResponse_Room? room,
  4. GetPatientListResponse_Bed? bed,
  5. String? notes,
  6. Iterable<GetPatientListResponse_Task>? tasks,
})

Implementation

factory GetPatientListResponse_Patient({
  $core.String? id,
  $core.String? humanReadableIdentifier,
  GetPatientListResponse_Room? room,
  GetPatientListResponse_Bed? bed,
  $core.String? notes,
  $core.Iterable<GetPatientListResponse_Task>? tasks,
}) {
  final $result = create();
  if (id != null) {
    $result.id = id;
  }
  if (humanReadableIdentifier != null) {
    $result.humanReadableIdentifier = humanReadableIdentifier;
  }
  if (room != null) {
    $result.room = room;
  }
  if (bed != null) {
    $result.bed = bed;
  }
  if (notes != null) {
    $result.notes = notes;
  }
  if (tasks != null) {
    $result.tasks.addAll(tasks);
  }
  return $result;
}