updateAccount method
Changes information about the current Account resource.
May throw BadRequestException.
May throw ConflictException.
May throw LimitExceededException.
May throw NotFoundException.
May throw TooManyRequestsException.
May throw UnauthorizedException.
Parameter patchOperations :
For more information about supported patch operations, see Patch
Operations.
Implementation
Future<Account> updateAccount({
List<PatchOperation>? patchOperations,
}) async {
final $payload = <String, dynamic>{
if (patchOperations != null) 'patchOperations': patchOperations,
};
final response = await _protocol.send(
payload: $payload,
method: 'PATCH',
requestUri: '/account',
exceptionFnMap: _exceptionFns,
);
return Account.fromJson(response);
}