BundleEntry.delete constructor

BundleEntry.delete(
  1. String resourcePath, [
  2. FhirUri? canonicalBaseUrl
])

Implementation

factory BundleEntry.delete(
  String resourcePath, [
  FhirUri? canonicalBaseUrl,
]) =>
    BundleEntry(
        fullUrl: canonicalBaseUrl == null
            ? null
            : FhirUri('$canonicalBaseUrl/$resourcePath'),
        request: BundleRequest(
          method: FhirCode('DELETE'),
          url: FhirUri(resourcePath),
        ));