toProvide method

Binding<T> toProvide(
  1. T value()
)

RU: Инициализация экземляпяра  через провайдер value. ENG: Initialization instance via provider value.

return Binding

Implementation

Binding<T> toProvide(T Function() value) {
  _mode = Mode.PROVIDER_INSTANCE;
  _provider = value;
  return this;
}