updateAccount method
Changes information about the current Account resource.
May throw UnauthorizedException. May throw BadRequestException. May throw NotFoundException. May throw TooManyRequestsException.
Parameter patchOperations :
A list of update operations to be applied to the specified resource and in
the order specified in this list.
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);
}