Once<T extends Object?> constructor
Once<T extends Object?> (
- T _init()
Creates a lazy initializer with the given _init function.
The function will be called exactly once when call is first invoked. Subsequent calls return the cached result.
Implementation
Once(this._init);