bootstrapStatic<T extends Object> function
- @Deprecated('Renamed "runAppLegacy". See "runApp" for the preferred API.')
Starts a new AngularDart application with componentType
as the root.
See runAppLegacy for the new name of this method.
Implementation
@Deprecated('Renamed "runAppLegacy". See "runApp" for the preferred API.')
Future<ComponentRef<T>> bootstrapStatic<T extends Object>(
Type componentType, [
List<Object> providers = const [],
void Function()? initReflector,
]) =>
Future.microtask(
() => runAppLegacy(
componentType,
createInjectorFromProviders: providers,
initReflector: initReflector,
),
);