Bundle class

A container for a collection of resources.

Inheritance
Available extensions

Constructors

Bundle({String? id, Meta? meta, List<Extension>? extension, List<Identifier>? identifier, bool? active, String? type, String? name, List<CodeableConcept>? code, List<Participant>? participant, List<Link>? link, List<Entry>? entry})
Constructs a new Bundle.
Bundle.fromJson(JsonObject json)
Creates an Bundle instance from the provided JSON object.

Properties

active bool?
Indicates whether the bundle is currently active
no setter
code List<CodeableConcept>?
Codes identifying the bundle
no setter
entry List<Entry>?
Entries within the bundle
no setter
extension List<Extension>?
List of extensions for the bundle
no setter
hashCode int
The hash code for this object.
no setterinherited
id String?
The id of the resource
no setterinherited
identifier List<Identifier>?
Identifiers associated with the bundle
no setter
json → JsonObject
finalinherited
Links related to the bundle
no setter
meta Meta?
The metadata of the resource
no setterinherited
name String?
The human-readable name for the bundle
no setter
participant List<Participant>?
Participants involved in the bundle
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String?
The type of the bundle (e.g., transaction, batch, history)
no setter

Methods

copyWith({String? id, Meta? meta, List<Extension>? extension, List<Identifier>? identifier, bool? active, String? type, String? name, List<CodeableConcept>? code, List<Participant>? participant, List<Link>? link, List<Entry>? entry}) Bundle
Creates a copy of the Bundle instance and allows for non-destructive mutation.
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

Constants

activeField → const FieldDefinition<bool>
Field definition for active.
codeField → const FieldDefinition<List<CodeableConcept>>
Field definition for code.
entryField → const FieldDefinition<List<Entry>>
Field definition for entry.
extensionField → const FieldDefinition<List<Extension>>
Field definition for extension.
identifierField → const FieldDefinition<List<Identifier>>
Field definition for identifier.
linkField → const FieldDefinition<List<Link>>
Field definition for link.
nameField → const FieldDefinition<String>
Field definition for name.
participantField → const FieldDefinition<List<Participant>>
Field definition for participant.
typeField → const FieldDefinition<String>
Field definition for type.