ServiceMixin mixin
Properties
- didEverInitAndSuccessfully → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → ServiceState
-
The current state of the service.
no setter
Methods
-
dispose(
{bool eagerError = false}) → Resolvable< Unit> -
init(
{bool eagerError = true}) → Resolvable< Unit> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pause(
{bool eagerError = false}) → Resolvable< Unit> -
provideDisposeListeners(
void _) → TServiceResolvables< Unit> -
provideInitListeners(
void _) → TServiceResolvables< Unit> -
providePauseListeners(
void _) → TServiceResolvables< Unit> -
provideResumeListeners(
void _) → TServiceResolvables< Unit> -
resume(
{bool eagerError = false}) → Resolvable< Unit> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
unregister(
Result< ServiceMixin> serviceResult) → Resolvable<Unit> - A static hook for the DI system to properly dispose of the service upon unregistering.