BundleEntry.get constructor

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

Implementation

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