MslFetcherProvider<T> constructor

MslFetcherProvider<T>({
  1. required Future<T> onDataFetched(),
  2. bool? showErrorLogs,
})

Implementation

MslFetcherProvider({
  required this.onDataFetched,
  this.showErrorLogs,
}) : super(MslFetcherProviderLoading()) {
  fetchDataAndEmitState();
}