maybeWhen<TResult extends Object?> method
- @optionalTypeArgs
- TResult read()?,
- TResult vRead()?,
- TResult update()?,
- TResult patch()?,
- TResult delete()?,
- TResult create()?,
- TResult search()?,
- TResult searchAll()?,
- TResult capabilities()?,
- TResult transaction()?,
- TResult batch()?,
- TResult history()?,
- TResult historyType()?,
- TResult historyAll()?,
- TResult operation(
- Uri base,
- Dstu2ResourceType? type,
- String? fhirId,
- bool pretty,
- Summary summary,
- String format,
- List<
String> elements, - List<
String> parameters, - Parameters? fhirParameter,
- String operation,
- bool usePost,
- bool useFormData,
- MimeType? mimeType,
- String accept,
- Client? client,
- Map<
String, String> ? headers,
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(
Uri base,
Dstu2ResourceType type,
String fhirId,
bool pretty,
Summary summary,
String format,
List<String> elements,
List<String> parameters,
MimeType? mimeType,
String accept,
@JsonKey(includeFromJson: false, includeToJson: false)
Client? client,
Map<String, String>? headers)?
read,
TResult Function(
Uri base,
Dstu2ResourceType type,
String fhirId,
FhirId vid,
bool pretty,
Summary summary,
String format,
List<String> elements,
List<String> parameters,
MimeType? mimeType,
String accept,
@JsonKey(includeFromJson: false, includeToJson: false)
Client? client,
Map<String, String>? headers)?
vRead,
TResult Function(
Uri base,
Resource resource,
bool pretty,
Summary summary,
String format,
List<String> elements,
List<String> parameters,
MimeType? mimeType,
String accept,
@JsonKey(includeFromJson: false, includeToJson: false)
Client? client,
Map<String, String>? headers)?
update,
TResult Function(
Uri base,
Resource resource,
bool pretty,
Summary summary,
String format,
List<String> elements,
List<String> parameters,
MimeType? mimeType,
String accept,
@JsonKey(includeFromJson: false, includeToJson: false)
Client? client,
Map<String, String>? headers)?
patch,
TResult Function(
Uri base,
Dstu2ResourceType type,
String fhirId,
bool pretty,
Summary summary,
String format,
List<String> elements,
List<String> parameters,
MimeType? mimeType,
String accept,
@JsonKey(includeFromJson: false, includeToJson: false)
Client? client,
Map<String, String>? headers)?
delete,
TResult Function(
Uri base,
Resource resource,
bool pretty,
Summary summary,
String format,
List<String> elements,
List<String> parameters,
MimeType? mimeType,
String accept,
@JsonKey(includeFromJson: false, includeToJson: false)
Client? client,
Map<String, String>? headers)?
create,
TResult Function(
Uri base,
Dstu2ResourceType type,
bool pretty,
Summary summary,
String format,
List<String> elements,
List<String> parameters,
bool usePost,
RestfulRequest restfulRequest,
MimeType? mimeType,
String accept,
@JsonKey(includeFromJson: false, includeToJson: false)
Client? client,
Map<String, String>? headers)?
search,
TResult Function(
Uri base,
bool pretty,
Summary summary,
String format,
List<String> elements,
List<String> parameters,
MimeType? mimeType,
String accept,
@JsonKey(includeFromJson: false, includeToJson: false)
Client? client,
Map<String, String>? headers)?
searchAll,
TResult Function(
Uri base,
bool pretty,
Summary summary,
String format,
List<String> elements,
List<String> parameters,
Mode mode,
MimeType? mimeType,
String accept,
@JsonKey(includeFromJson: false, includeToJson: false)
Client? client,
Map<String, String>? headers)?
capabilities,
TResult Function(
Uri base,
bool pretty,
Summary summary,
String format,
List<String> elements,
List<String> parameters,
Bundle bundle,
MimeType? mimeType,
String accept,
@JsonKey(includeFromJson: false, includeToJson: false)
Client? client,
Map<String, String>? headers)?
transaction,
TResult Function(
Uri base,
bool pretty,
Summary summary,
String format,
List<String> elements,
List<String> parameters,
Bundle bundle,
MimeType? mimeType,
String accept,
@JsonKey(includeFromJson: false, includeToJson: false)
Client? client,
Map<String, String>? headers)?
batch,
TResult Function(
Uri base,
Dstu2ResourceType type,
String fhirId,
bool pretty,
Summary summary,
String format,
List<String> elements,
List<String> parameters,
int? count,
FhirInstant? since,
FhirDateTime? at,
String? reference,
MimeType? mimeType,
String accept,
@JsonKey(includeFromJson: false, includeToJson: false)
Client? client,
Map<String, String>? headers)?
history,
TResult Function(
Uri base,
Dstu2ResourceType type,
bool pretty,
Summary summary,
String format,
List<String> elements,
List<String> parameters,
int? count,
FhirInstant? since,
FhirDateTime? at,
String? reference,
MimeType? mimeType,
String accept,
@JsonKey(includeFromJson: false, includeToJson: false)
Client? client,
Map<String, String>? headers)?
historyType,
TResult Function(
Uri base,
bool pretty,
Summary summary,
String format,
List<String> elements,
List<String> parameters,
int? count,
FhirInstant? since,
FhirDateTime? at,
String? reference,
MimeType? mimeType,
String accept,
@JsonKey(includeFromJson: false, includeToJson: false)
Client? client,
Map<String, String>? headers)?
historyAll,
TResult Function(
Uri base,
Dstu2ResourceType? type,
String? fhirId,
bool pretty,
Summary summary,
String format,
List<String> elements,
List<String> parameters,
Parameters? fhirParameter,
String operation,
bool usePost,
bool useFormData,
MimeType? mimeType,
String accept,
@JsonKey(includeFromJson: false, includeToJson: false)
Client? client,
Map<String, String>? headers)?
operation,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;