Type class

A type definition for some HL7v2 type (incl.

Segments and Datatypes).

Constructors

Type({List<Field>? fields, String? name, String? primitive})
Type.fromJson(Map json_)

Properties

fields List<Field>?
The (sub) fields this type has (if not primitive).
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
The name of this type.
getter/setter pair
primitive String?
If this is a primitive type then this field is the type of the primitive For example, STRING.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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