InjectableIn<T> class abstract interface

Interface for objects that can be injected in others. This allows an object to delegate setup to another object.

Used by Router.inject which takes an InjectableIn<Router<T>>.

Implementers

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

injectIn(T owner) → void
Overwrite this to define how to inject this object in owner.
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