DataTypeUtils class

Constructors

DataTypeUtils()

Properties

hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited

Static Methods

getFeatureOrProperty<P>(DataType type, dynamic value, String propertyName, P orElse()) → P
getPathElements(String path) → List<String>
getSubType(DataType type, String path) DataType
getSubValue(dynamic value, String path, { bool returnAnnotatedTarget: false }) → dynamic
hasAllNotNullValuesSet(DataType type, dynamic value) → bool
hasSubType(DataType type, DataTypeKind subTypeKind) → bool
setSubValue(dynamic value, String path, dynamic subValue) → void
Supports sub-arguments and bypasses annotated values. The value has to a complex type.
traverseDataType(QualifiedDataType qType, void onType(QualifiedDataType _), { bool namedOnly: true, bool traverseCollections: false }) → void
Traverses the data type but only through record types.
traverseValue(QualifiedDataType qType, dynamic value, void onValue(QualifiedDataType _qType, dynamic _value)) → void

Constants

THIS → const String
'this'