MomentumService class abstract

Use for marking any classes as services to inject them into the services parameter of Momentum root widget and use them down the tree.

Implementers

Constructors

MomentumService()

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

getService<T extends MomentumService>({bool runtimeType = true, dynamic alias}) → T
A method for getting a service marked with MomentumService that are injected into Momentum root widget.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
service<T extends MomentumService>({dynamic alias}) → T
A method for getting a service marked with MomentumService that are injected into Momentum root widget.
toString() String
A string representation of this object.
inherited

Operators

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