InjectorModule class Null safety

The injection module used to inject third party dependencies.

Annotations

Constructors

InjectorModule()

Properties

appHttpClient AppHttpClient
Inject a new custom HTTP client instance.
@LazySingleton(as: Dio), read-only
baseUrl String
Inject a base url for HTTP client endpoint.
@Named("baseUrl"), read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
logger Logger
Injects a new instance of Logger.
@lazySingleton, read-only
prefs Future<SharedPreferences>
Injects a new instance of SharedPreferences.
@preResolve, read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited