getUserSystemOverrides static method

Future<DictionaryOfstringAndCoreSystemResponse> getUserSystemOverrides(
  1. HttpClient client
)

Get the user-specific system overrides that should be respected alongside common systems.

Implementation

static Future<DictionaryOfstringAndCoreSystemResponse> getUserSystemOverrides (
    HttpClient client,
) async {
    final Map<String, dynamic> params = Map<String, dynamic>();
    final HttpClientConfig config = HttpClientConfig('GET', '/UserSystemOverrides/', params);
    config.bodyContentType = null;
    final HttpResponse response = await client.request(config);
    if(response.statusCode == 200) {
        return DictionaryOfstringAndCoreSystemResponse.asyncFromJson(response.mappedBody);
    }
    throw Exception(response.mappedBody);
}