loadOnce method
If the data is empty, load is performed only once.
In other cases, the value is returned as is.
Use isEmpty to determine whether the file is empty or not.
Implementation
Future<void> loadOnce() async {
if (!loaded) {
_loaded = true;
return load();
}
}