getServiceConfig method
Implementation
Future<ServiceConfig> getServiceConfig({required String serviceName}) async {
final configResult = await _flutterTerraApi.getServiceConfig(appName, serviceName);
if (configResult.isSuccess != true) {
throw Exception(configResult.error);
}
if (configResult.serviceConfig == null) {
throw Exception("Unknown Exception");
}
return configResult.serviceConfig!;
}