CreatorModel<T> class

Create a model contains sheet create function

Constructors

CreatorModel(Creator<T> createSheet)
const

Properties

createSheet → Creator<T>
sheet create function
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type Type
return T type of sheetCreator
no setter

Methods

cast(Map<String, CreatorModel> map) Map<String, Creator<T>>
auto add createSheet to map
createProvider(bool hotReload, Map<String, Creator<T>> createSheets) SheetProvider<T>
return SheetProvider with createSheet
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