getSettingsAccountGroups function

Future<ApiResponse<SettingsAccountGroupList>> getSettingsAccountGroups(
  1. ExsitedClient client, {
  2. Map<String, Object?>? queryParams,
  3. bool? raiseOnError,
  4. String? responseFormat,
})

GET /api/{api_version}/settings/account_groups

List the account groups.

Implementation

Future<ApiResponse<SettingsAccountGroupList>> getSettingsAccountGroups(
  ExsitedClient client, {
  Map<String, Object?>? queryParams,
  bool? raiseOnError,
  String? responseFormat,
}) =>
    client.sendGetRequest(AccountGroupsUrls.settingsAccountGroups,
        queryParams: queryParams,
        raiseOnError: raiseOnError,
        responseFormat: responseFormat,
        dtoDecoder: SettingsAccountGroupList.fromMap);