ProviderBase class abstract
Full documentation: https://www.ezflap.io/deep-dive/di/di.html#injection-provider
Extend this class to create an @EzDIProvider
-injectable provider service.
- Inheritance
-
- Object
- Guid
- $Singleton
- EzServiceBase
- ProviderBase
Constructors
Properties
Methods
-
$initDI(
[Map< String, dynamic> ? mapOverrides]) → void -
inherited
-
getGuid(
) → int -
Get this instance's guid as integer.
inherited
-
getGuidAsString(
) → String -
Get this instance's guid as String.
inherited
-
hookAttachedToResolver(
) → void -
Called when this provider is attached to a resolver (i.e. which means
that it is now ready to be injected by
@EzDIProvider
fields that use its resolver class. -
hookDetachedFromResolver(
) → void - Called when this provider is detached from a resolver. Note that if we attach the same provider to multiple resolvers, then this method will be called multiple times - for each resolver it is detached from.
-
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