TypeInfo class Null safety

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
isGeneric bool
read / write
isIterable bool
read / write
isList bool
read / write
isMap bool
read / write
isSet bool
read / write
isWithMixin bool
read / write
mixinTypeName String?
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
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
override