DynamicModule class
The DynamicModule class is used to define a dynamic module.
Constructors
-
DynamicModule({List<
Module> imports = const [], List<Controller> controllers = const [], List<Provider> providers = const [], List<Type> exports = const [], List<Middleware> middlewares = const []}) - The DynamicModule constructor is used to create a new instance of the DynamicModule class.
Properties
-
controllers
→ List<
Controller> -
The controllers property contains the controllers of the module.
final
-
exports
→ List<
Type> -
The exports property contains the exports of the module.
final
- 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.
final
-
middlewares
→ List<
Middleware> -
The middlewares property contains the middlewares of the module.
final
-
providers
→ List<
Provider> -
The imports property contains the modules that are imported in the module.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited