readRemoteConfig function

Future<RemoteConfig> readRemoteConfig()

read remote-config

Implementation

Future<RemoteConfig> readRemoteConfig() async {
  final json = await downloadJson(remoteConfigUrl);
  final remoteConfig = RemoteConfig.fromJson(json);
  return remoteConfig;
}