Cardinality class

Represents the FHIR concept of cardinality

Constructors

Cardinality({required int min, BooleanOrIntegerChoice? max})
Creates a new instance of Cardinality.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
isArray bool
Whether or not the data type is a list/array
no setter
isRequired bool
Whether or not the field is required
no setter
max BooleanOrIntegerChoice?
True = Star | False = No Max | Int = Max
final
min int
0 = not required. 1 = at least one, etc.
final
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
toString() String
A string representation of this object.
inherited

Operators

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

Constants

singular → const Cardinality
Represents a cardinality of 0..1