isAccount method

bool isAccount(
  1. int accountId
)

Whether the caller's account is accountId.

Implementation

bool isAccount(int accountId) => this.accountId == accountId;