mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult? read(
    1. FhirReadRequest value
    )?,
  2. TResult? vRead(
    1. FhirVReadRequest value
    )?,
  3. TResult? update(
    1. FhirUpdateRequest value
    )?,
  4. TResult? patch(
    1. FhirPatchRequest value
    )?,
  5. TResult? delete(
    1. FhirDeleteRequest value
    )?,
  6. TResult? create(
    1. FhirCreateRequest value
    )?,
  7. TResult? search(
    1. FhirSearchRequest value
    )?,
  8. TResult? searchAll(
    1. FhirSearchAllRequest value
    )?,
  9. TResult? capabilities(
    1. FhirCapabilitiesRequest value
    )?,
  10. TResult? transaction(
    1. FhirTransactionRequest value
    )?,
  11. TResult? batch(
    1. FhirBatchRequest value
    )?,
  12. TResult? history(
    1. FhirHistoryRequest value
    )?,
  13. TResult? historyType(
    1. FhirHistoryTypeRequest value
    )?,
  14. TResult? historyAll(
    1. FhirHistoryAllRequest value
    )?,
  15. TResult? operation(
    1. FhirOperationRequest value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(FhirReadRequest value)? read,
  TResult? Function(FhirVReadRequest value)? vRead,
  TResult? Function(FhirUpdateRequest value)? update,
  TResult? Function(FhirPatchRequest value)? patch,
  TResult? Function(FhirDeleteRequest value)? delete,
  TResult? Function(FhirCreateRequest value)? create,
  TResult? Function(FhirSearchRequest value)? search,
  TResult? Function(FhirSearchAllRequest value)? searchAll,
  TResult? Function(FhirCapabilitiesRequest value)? capabilities,
  TResult? Function(FhirTransactionRequest value)? transaction,
  TResult? Function(FhirBatchRequest value)? batch,
  TResult? Function(FhirHistoryRequest value)? history,
  TResult? Function(FhirHistoryTypeRequest value)? historyType,
  TResult? Function(FhirHistoryAllRequest value)? historyAll,
  TResult? Function(FhirOperationRequest value)? operation,
}) =>
    throw _privateConstructorUsedError;