ClassType class

Constructors

ClassType.name(String typeName)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isDynamic bool
no setter
isList bool
no setter
isNull bool
no setter
isObject bool
no setter
isPrimitive bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
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.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getType(dynamic value) ClassType
isPrimitiveType(String typeName) bool
mergeType(ClassType? oriType, ClassType? newType) ClassType?
(int -> double) / bool -> string -> dynamic Class / List -> dynamic

Constants

primitiveTypes → const List<ClassType>
tBool → const ClassType
tDouble → const ClassType
tDynamic → const ClassType
tInt → const ClassType
tListDynamic → const ClassType
tNull → const ClassType
tObject → const ClassType
tString → const ClassType
values → const List<ClassType>