getNumSigners method
Counts the number of accounts that are signers.
Implementation
int getNumSigners() =>
fold(0, (total, account) => total + (account.isSigner ? 1 : 0));
Counts the number of accounts that are signers.
int getNumSigners() =>
fold(0, (total, account) => total + (account.isSigner ? 1 : 0));