provider property

T? get provider

RU: Поиск экземпляра. ENG: Resolve instance.

return T

Implementation

T? get provider {
  if (_isSingeltone) {
    _instance ??= _provider?.call();
    return _instance;
  }
  return _provider?.call();
}