SerializableControllersManager class
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