maybeWhen<TResult extends Object?> method

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

Implementation

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