RestController class abstract

RestController is a class that Controllers must extend to be implemented to Modules. It is decorated with Injectable Mixin, it means that every RestController has access to DI functions inject

Mixed-in types

Constructors

RestController.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
preffix String?
Preffix should be setted through @HttpController annotation, you can just ignore it.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

inject<T extends Object>(Injection<T> injection) → void
Function to inject dependencies:
inherited
injected<T>([String? name]) → T
Function to retrieve injected dependencies:
inherited
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