TypeInfo class

Provides enhanced type information based on Type.toString() value

Constructors

TypeInfo(Type type)

Properties

genericType Type
read / write
genericTypeName String
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
isDynamic bool
read / write
isEnum bool
read / write
isIterable bool
read / write
isList bool
read / write
isMap bool
read / write
isSet bool
read / write
parameters Iterable<Type>
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scalarType Type
read / write
scalarTypeName String
read / write
type Type
read / write
typeName String
read / write

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.
override

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited