Identifier class

A numeric or alphanumeric string that is associated with a single object or entity within a given system. Typically, identifiers are used to connect content in resources to external content available in other frameworks or protocols. Identifiers are associated with objects, and may be changed or retired due to human or system process and errors.

Constructors

Identifier({Type? type, Uri? system, String? value, String? use})
Creates a new Identifier instance.
Identifier.fromJson(JsonObject _json)
Creates a new Identifier instance from the provided JSON object.

Properties

hashCode int
The hash code for this object.
no setteroverride
json → JsonObject
Converts this Identifier instance to a JSON object.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
system Uri?
Establishes the namespace for the value - that is, a URL that describes a set values that are unique.
no setter
type Type?
The type for the identifier that can be used to determine which identifier to use for a specific purpose.
no setter
use String?
A coded value that defines the purpose of the identifier.
no setter
value String?
The portion of the identifier typically relevant to the user and which is unique within the context of the system.
no setter

Methods

copyWith({Type? type, Uri? system, String? value, String? use}) Identifier
Makes a deep copy of this Identifier.
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

fieldDefinitions → const List<FieldDefinition<Object>>
All field definitions for Identifier
systemField → const FieldDefinition<Uri>
Field definition for system
typeField → const FieldDefinition<Type>
Field definition for type
useField → const FieldDefinition<String>
Field definition for use
valueField → const FieldDefinition<String>
Field definition for value