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

Constructors

ProviderBase()

Properties

guid int
Get this instance's guid as integer.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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