MicroservicesModule class

The MicroservicesModule class is used to register the microservices module.

Inheritance

Constructors

MicroservicesModule()
The MicroservicesModule constructor is used to create a new instance of the MicroservicesModule class.

Properties

controllers List<Controller>
The controllers property contains the controllers of the module.
getter/setter pairinherited
exportedProviders List<Provider>
The options property contains the options of the module.
no setterinherited
exports List<Type>
The exports property contains the exports of the module.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
imports List<Module>
The imports property contains the modules that are imported in the module.
getter/setter pairinherited
isGlobal bool
The isGlobal property is used to define if the module is global.
finalinherited
providers List<Provider>
The providers property contains the providers of the module.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String
The imports property contains the modules that are imported in the module.
finalinherited

Methods

configure(MiddlewareConsumer consumer) → void
Configures the middleware for the module.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerAsync(ApplicationConfig config) Future<DynamicModule>
The register method is used to register the module.
override
toString() String
A string representation of this object.
inherited

Operators

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