build abstract method

Future<void> build(
  1. Registry registry
)

Builds the module.

This method is called by Fluent to build the module. It takes a single argument, registry, which is the Registry instance used to register objects.

It returns a Future that completes when the module has been built.

You should call Registry.registerFactory, Registry.registerSingleton, or Registry.registerLazySingleton to register objects with the Registry.

You can also call Registry.allowReassignment to allow objects to be reassigned.

Implementation

Future<void> build(Registry registry);