forAccount method Null safety

TradesRequestBuilder forAccount(
  1. String accountId
)

Returns the trades for a given account by accountId. See: Trades for Account

Implementation

TradesRequestBuilder forAccount(String accountId) {
  this.setSegments(["accounts", accountId, "trades"]);
  return this;
}