DatabaseAdapterRegistry class abstract

Class for managing DatabaseAdapters

Implementers

Constructors

DatabaseAdapterRegistry()

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

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

Static Properties

registeredAdapters Map<String, Type>
Returns a list of all registered keys and their Adapters class name
no setter

Static Methods

getAdapter([String name = ""]) DatabaseAdapter
Grabs a adapter from the registry.
register(DatabaseAdapter adapter, {bool useAsDefault = false}) → void
Registers a new adapter. The first adapter will be automatically set as default. The default adapter can be overwriten by setting useAsDefault to true.