DataManagerRegistry class
A registry of DataManagerFactorys.
In order to be able to create a new DataManager, you must register a DataManagerFactory here, which then later is used to call create an appropriate DataManager for a specific DataEndPoint type.
Constructors
- DataManagerRegistry()
-
factory
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
-
create(
String type) → DataManager? -
Create a new data manager based on
type
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
register(
DataManagerFactory factory) → void - Register a DataManagerFactory which can create a DataManager for a specific data endpoint type.
-
registerAll(
List< DataManagerFactory> factories) → void -
Register all
factories
. A convenient way to call register for multiple types. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited