dispatchFetchEvent method

dynamic dispatchFetchEvent(
  1. dynamic url
)

Implementation

dispatchFetchEvent(url) async {
  this.emit(FetchDataState.loading());
  await this.fetchDataOnce(url);
}