getAccountsSummary method
Parameters:
- Object authorization:
Implementation
Future<AccountSummaryModel> getAccountsSummary({
required Object authorization,
}) async {
final response = await _getAccountsSummaryWithHttpInfo(
authorization: authorization,
);
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
return await apiClient.deserializeAsync(
await _decodeBodyBytes(response),
'AccountSummaryModel',
) as AccountSummaryModel;
}