build static method
Builds a list of fluent modules
This method takes a list of FluentModule and builds them
by calling their build method with the _registry
instance.
It returns a Future that completes when all modules have been built.
Implementation
static Future<void> build(List<FluentModule> modules) async {
/// Build each module
final futures = modules.map((module) => module.build(_registry));
/// Wait for all modules to be built
await Future.wait<void>(futures.toList());
}