CachedCanonicalResource<T extends CanonicalResource> class

A simple cached wrapper around a fully loaded CanonicalResource.

Constructors

CachedCanonicalResource.new(T resource, [PackageVersion? packageInfo])
Creates a CachedCanonicalResource instance.

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
ID of the resource (must be non-null).
no setter
packageInfo PackageVersion?
Optional package/version metadata where this resource came from.
final
resource → T
The real FHIR resource.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
URL of the resource (must be non-null).
no setter
version String?
Version string, if present.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited