fetch method

  1. @override
Future<void> fetch()
override

Retrieves the data for the configuration.

Implementation

@override
Future<void> fetch() async {
  try {
    await appConfig.fetchAndActivate();
  } on Exception catch (e) {
    if (e.toString().contains("request timed out")) {
      await fetch();
    }

    return;
  }
}