readRemoteConfig function
read remote-config
Implementation
Future<RemoteConfig> readRemoteConfig() async {
final json = await downloadJson(remoteConfigUrl);
final remoteConfig = RemoteConfig.fromJson(json);
return remoteConfig;
}
read remote-config
Future<RemoteConfig> readRemoteConfig() async {
final json = await downloadJson(remoteConfigUrl);
final remoteConfig = RemoteConfig.fromJson(json);
return remoteConfig;
}