UserType<T> class

Represents a user-defined type.

Constructors

UserType(Function function)
Creates a new instance of the UserType class.

Properties

function Function
final
hashCode int
The hash code for this object.
no setterinherited
info → FunctionInfo
final
name String
The name of the generic type.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createList() List<T>
Creates an empty list of type T.
inherited
createListOfMapOfT() List<Map<String, T>>
Creates an empty list of maps with keys of type String and values of type T.
inherited
createMapOfListOfNullableT() Map<String, List<T>?>
Creates an empty map with keys of type String and nullable values of type List of T.
inherited
createMapOfListOfT() Map<String, List<T>>
Creates an empty map with keys of type String and values of type List of T.
inherited
createMapOfNullableT() Map<String, T?>
Creates an empty map with keys of type String and nullable values of type T.
inherited
createMapOfT() Map<String, T>
Creates an empty map with keys of type String and values of type T.
inherited
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