isContactCreditor method

bool isContactCreditor(
  1. IRef contact
)

Implementation

bool isContactCreditor(IRef contact) {
  return creditor?.mxid == contact.id;
}