# ConfigurableRuntimeProvider class abstract

A mutable context used to collect and assemble metadata during the framework’s initialization or AOT compilation phase.

This interface is used internally to register discovered libraries, packages, assets, environment variables, and special types before the context is finalized via `build`.

The finalized output will be an immutable RuntimeProvider that provides a stable view of all application metadata.

## Example

    final context = StandardRuntimeProvider();
    // Assuming you have a way to create ReflectedLibrary instances
    context.addLibrary(myReflectedLibrary);
    context.addPackage(myPackage);
    context.addAsset(myAsset);
    context.addSpecialType(mySpecialType);
    context.addLibraries([lib1, lib2], replace: true);
    context.addPackages([pkg1, pkg2], replace: true);
    context.addAssets([asset1, asset2], replace: true);
    context.addSpecialTypes([type1, type2], replace: true);

Inheritance
  - Object
  - RuntimeProvider
  - ConfigurableRuntimeProvider

## Constructors

ConfigurableRuntimeProvider.new()

## Properties

hashCode → int
  The hash code for this object.
  no setter inherited
runtimeType → Type
  A representation of the runtime type of the object.
  no setter inherited

## Methods

addAsset(Asset asset) → void
  A mutable context used to collect and assemble metadata during the framework’s initialization or AOT compilation phase.
addAssets(List<Asset> assets, {bool replace = false}) → void
  A mutable context used to collect and assemble metadata during the framework’s initialization or AOT compilation phase.
addLibraries(List<LibraryDeclaration> libraries, {bool replace = false}) → void
  A mutable context used to collect and assemble metadata during the framework’s initialization or AOT compilation phase.
addLibrary(LibraryDeclaration library) → void
  A mutable context used to collect and assemble metadata during the framework’s initialization or AOT compilation phase.
addNonDartFile(File file) → void
  A mutable context used to collect and assemble metadata during the framework’s initialization or AOT compilation phase.
addNonDartFiles(List<File> files, {bool replace = false}) → void
  A mutable context used to collect and assemble metadata during the framework’s initialization or AOT compilation phase.
addPackage(Package package) → void
  A mutable context used to collect and assemble metadata during the framework’s initialization or AOT compilation phase.
addPackages(List<Package> packages, {bool replace = false}) → void
  A mutable context used to collect and assemble metadata during the framework’s initialization or AOT compilation phase.
addSpecialType(TypeDeclaration type) → void
  A mutable context used to collect and assemble metadata during the framework’s initialization or AOT compilation phase.
addSpecialTypes(List<TypeDeclaration> types, {bool replace = false}) → void
  A mutable context used to collect and assemble metadata during the framework’s initialization or AOT compilation phase.
getAllAssets() → List<Asset>
  Returns all assets available in the reflection context.
  inherited
getAllLibraries() → List<LibraryDeclaration>
  Returns all reflected libraries available in the reflection context.
  inherited
getAllPackages() → List<Package>
  Returns all packages available in the reflection context.
  inherited
getNonDartFiles() → List<File>
  Represents a runtime reflection context for a Dart application, providing access to libraries, packages, assets, and metadata.
  inherited
getRuntimeResolver() → RuntimeResolver
  Represents a runtime reflection context for a Dart application, providing access to libraries, packages, assets, and metadata.
  inherited
getSpecialTypes() → List<TypeDeclaration>
  Represents a runtime reflection context for a Dart application, providing access to libraries, packages, assets, and metadata.
  inherited
noSuchMethod(Invocation invocation) → dynamic
  Invoked when a nonexistent method or property is accessed.
  inherited
setRuntimeResolver(RuntimeResolver resolver) → void
  A mutable context used to collect and assemble metadata during the framework’s initialization or AOT compilation phase.
toString() → String
  A string representation of this object.
  inherited

## Operators

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