Registry class abstract
Constructors
- Registry()
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
-
allowReassignment(
{required bool allow}) → void - Allows or disallows the reassignment of a singleton object.
-
isRegistered<
T extends Object> () → bool -
Checks if an instance of type
T
is registered. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerFactory<
T extends Object> (T factoryFunction(GetIt), {String? instanceName}) → void - Registers a new factory object
-
registerLazySingleton<
T extends Object> (T factoryFunction(GetIt), {String? instanceName}) → void - Registers a new lazy singleton object
-
registerSingleton<
T extends Object> (T factoryFunction(GetIt), {String? instanceName}) → void - Registers a new singleton object
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited