TypeProvider class abstract
A TypeProvider is used to handle types without needing to manually add their factory functions.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getFactoriesByName(
String name) → List< Function> - Get a list of type factories from a type name
-
getFactoryById(
String id) → Function? - Get a type factory from a type id
-
idOf(
Type type) → String? - Get the id of a type
-
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