ModuleMetadata constructor

const ModuleMetadata({
  1. Iterable<Module>? imports,
  2. Iterable<ProviderMetadata>? controllers,
  3. Iterable<ProviderMetadata>? providers,
  4. Iterable<ProviderMetadata>? exports,
})

Implementation

const ModuleMetadata({
  final Iterable<Module>? imports,
  final Iterable<ProviderMetadata>? controllers,
  final Iterable<ProviderMetadata>? providers,
  final Iterable<ProviderMetadata>? exports,
})  : imports = imports ?? const [],
      controllers = controllers ?? const [],
      providers = providers ?? const [],
      exports = exports ?? const [];