Future<Application> boot(Iterable<Bootstrapper> bootstrappers)

Source

static Future<Application> boot(Iterable<Bootstrapper> bootstrappers) async {
  final containerState = new ContainerState(new IoCContainer());
  return new Application._(
      containerState.state,
      new List.unmodifiable(
          (await Future.wait(
              bootstrappers.map((b) => _timeline(containerState, b))
          )).where((b) => b != null)
      )
  );
}