SerializableControllersManager class

Properties

controllers List<SerializableController>
Return a list of the currently stored controllers
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Dispose all the stored controllers
getFromId<T extends SerializableController>(String id) → T?
Get the controller corresponding to the specified id
makeController<C extends SerializableController<T>, T>(C createFunction(), {bool overwrite = false}) → C
Creates a SerializableController using the provided createFunction. If a controller with the same id already exists and overwrite is false, return that instead of creating a new one. Set overwrite to true to force the creation of a new controller
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeController(String id) → void
Removes the controller corresponding to the specified id
resetControllers() → void
Resets all controllers to their initial values
toJson() Map<String, dynamic>
Serialize controllers values
toString() String
A string representation of this object.
inherited

Operators

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