FeatureDescriptionMessage class

Mirrors MLFeatureDescription.

Constructors

FeatureDescriptionMessage({required String name, required FeatureTypeMessage type, required bool optional, MultiArrayConstraintMessage? multiArrayConstraint, ImageConstraintMessage? imageConstraint, DictionaryConstraintMessage? dictionaryConstraint, SequenceConstraintMessage? sequenceConstraint, StateConstraintMessage? stateConstraint})

Properties

dictionaryConstraint ↔ DictionaryConstraintMessage?
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
imageConstraint ↔ ImageConstraintMessage?
getter/setter pair
multiArrayConstraint ↔ MultiArrayConstraintMessage?
getter/setter pair
name ↔ String
getter/setter pair
optional ↔ bool
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sequenceConstraint ↔ SequenceConstraintMessage?
getter/setter pair
stateConstraint ↔ StateConstraintMessage?
getter/setter pair
type ↔ FeatureTypeMessage
getter/setter pair

Methods

encode() → Object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

decode(Object result) → FeatureDescriptionMessage