Provider provide(Object token, { Type useClass, Object useValue: noValueProvided, Object useExisting, Function useFactory, List<Object> deps, bool multi: false })

An alias for new Provider; see Provider.

Source

Provider<dynamic> provide(
  Object token, {
  Type useClass,
  Object useValue: noValueProvided,
  Object useExisting,
  Function useFactory,
  List<Object> deps,
  bool multi: false,
}) =>
    new Provider<dynamic>(token,
        useClass: useClass,
        useValue: useValue,
        useExisting: useExisting,
        useFactory: useFactory,
        deps: deps,
        multi: multi);