when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult patient(
    1. Uri base,
    2. FhirDateTime? since,
    3. List<WhichResource>? types,
    4. Client? client,
    ),
  2. required TResult group(
    1. Uri base,
    2. FhirId id,
    3. FhirDateTime? since,
    4. List<WhichResource>? types,
    5. Client? client,
    ),
  3. required TResult system(
    1. Uri base,
    2. FhirDateTime? since,
    3. List<WhichResource>? types,
    4. Client? client,
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult when<TResult extends Object?>({
  required TResult Function(Uri base, FhirDateTime? since,
          List<WhichResource>? types, Client? client)
      patient,
  required TResult Function(Uri base, FhirId id, FhirDateTime? since,
          List<WhichResource>? types, Client? client)
      group,
  required TResult Function(Uri base, FhirDateTime? since,
          List<WhichResource>? types, Client? client)
      system,
}) =>
    throw _privateConstructorUsedError;