fetch method
Provides the best data acquisition method to implement during screen build.
Data loading does not occur in duplicate when a screen is built multiple times.
Basically, it listens for data.
If listen
is set to false
, load only.
Implementation
@override
Future<void> fetch([bool listen = true]) {
return loadOnce();
}