addAccount method
- SetonixAccount setonixAccount
Implementation
SetonixData addAccount(SetonixAccount setonixAccount) {
final accountId = setonixAccount.name;
return setAsset(
'$kPackAccountsPath/$accountId.key',
setonixAccount.privateKey,
).setAsset('$kPackAccountsPath/$accountId.pub', setonixAccount.publicKey);
}