signTxn method
Implementation
Future<Contract> signTxn({Account? account, String? passphrase}) async {
Account signingAccount = account ?? this.signer!;
try {
this.transaction = await signingAccount.signTransaction(this.transaction,
passphrase: passphrase);
this.setStatus(ContractStatus.SIGNED);
return this;
} catch (error) {
rethrow;
}
}