BackboneElement class

Base definition for all elements that are defined inside a resource - but not those in a data type.

Constructors

BackboneElement({String? id, FixedList<Extension>? extension, FixedList<Extension>? modifierExtension})
Constructs a new BackboneElement.
BackboneElement.fromJson(JsonObject _json)
Creates a BackboneElement instance from the provided JSON object.

Properties

extension FixedList<Extension>?
May be used to represent additional information that is not part of the basic definition of the element.
no setter
hashCode int
The hash code for this object.
no setteroverride
id String?
Unique id for the element within a resource (for internal references).
no setter
json → JsonObject
Converts this BackboneElement instance to a JSON object.
no setter
modifierExtension FixedList<Extension>?
May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? id, FixedList<Extension>? extension, FixedList<Extension>? modifierExtension}) BackboneElement
Creates a copy of the BackboneElement 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.
override

Constants

extensionField → const FieldDefinition<FixedList<Extension>>
Field definition for extension
fieldDefinitions → const List<FieldDefinition<Object>>
All field definitions for BackboneElement
idField → const FieldDefinition<String>
Field definition for id
modifierExtensionField → const FieldDefinition<FixedList<Extension>>
Field definition for modifierExtension