Plugin class Null safety

Used to inject functionality to a Spark application

Constructors

Plugin()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
requestMiddlewares Iterable<Middleware<Request>>
The request middlewares to add to the application
read-only
responseMiddlewares Iterable<Middleware<Response>>
The response middlewares to add to the application
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
onInit(Context context) Future<void>
Method called to initialize this class
toString() String
A string representation of this object. [...]
inherited

Operators

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