ModuleMetadata class

Module's metadata class

Constructors

ModuleMetadata({Iterable<Module>? imports, Iterable<ProviderMetadata>? controllers, Iterable<ProviderMetadata>? providers, Iterable<ProviderMetadata>? exports})
const

Properties

controllers Iterable<ProviderMetadata>
Optional list of controllers defined in this module which have to be instantiated.
final
exports Iterable<ProviderMetadata>
Optional list of the subset of providers that are provided by this module and should be available in other modules which import this module.
final
hashCode int
The hash code for this object.
no setterinherited
imports Iterable<Module>
Optional list of imported modules that export the providers which are required in this module.
final
providers Iterable<ProviderMetadata>
Optional list of providers that will be instantiated by the Dartness injector and that may be shared at least across this 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.
inherited

Operators

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