ValueParameter class

Defines the value type of the corresponding property.

With this mechanism a single property can have different value types.

Inheritance

Constructors

ValueParameter(String name, String textValue)
Creates a new ValueParameter
ValueParameter.value(String name, ValueType type)
Creates a new ValueParameter

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
the name of this parameter
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textValue String
the unparsed text value of this parameter
finalinherited
value ValueType
The parsed value
finalinherited
valueType ValueType
Retrieves the value type
no setter

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

Static Methods

create(String name, ValueType? value) ValueParameter?
Creates a new ValueParameter when the value is not null
parse(String textValue) ValueType
Parses the given textValue
override