UnknownValueType class final
A ValueType representing an unknown value.
This should be used in cases where a null
value is encountered, and the
type of the value cannot be determined without more sample data.
- Inheritance
-
- Object
- ValueType
- PrimitiveValueType
- UnknownValueType
- Mixed in types
- Available Extensions
Constructors
- UnknownValueType({required bool optional})
-
const
Properties
- fullType → String
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- optional → bool
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
no setteroverride
-
typeArguments
→ List<
ValueType> ? -
no setterinherited
Methods
-
asOptional(
{bool optional = true}) → UnknownValueType -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, dynamic> json) → UnknownValueType -
override