UserType<T> class

A generic user-defined type class.

Constructors

UserType(Function constructor)
Constructor for UserType.

Properties

classData → ClassData
Class metadata (reflection data).
final
constructor Function
Constructor function.
final
hashCode int
The hash code for this object.
no setterinherited
name String
Name of the user-defined type.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createList(int level) List<T>
Create an empty list of type T.
createListOfMapOfT() List<Map<String, T>>
Create an empty list of maps with type T.
createMapOfListOfNullableT() Map<String, List<T>?>
Create an empty map of nullable lists with type T.
createMapOfListOfT(int level) Map<String, List<T>>
Create an empty map of lists with type T.
createMapOfNullableT() Map<String, T?>
Create an empty map of nullable type T.
createMapOfT() Map<String, T>
Create an empty map of type T.
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