yRunOnce<T> function
Implementation
T yRunOnce<T>(String key, T Function() fn) {
if (!_onceResults.containsKey(key)) {
_onceResults[key] = fn();
}
return _onceResults[key];
}
T yRunOnce<T>(String key, T Function() fn) {
if (!_onceResults.containsKey(key)) {
_onceResults[key] = fn();
}
return _onceResults[key];
}