TransferFeeConfig.fromAccountBytes constructor
TransferFeeConfig.fromAccountBytes(
- List<int> accountBytes
)
Implementation
factory TransferFeeConfig.fromAccountBytes(List<int> accountBytes) {
final decode = _Utils.decodeFromAccount(accountBytes);
return TransferFeeConfig(
transferFeeConfigAuthority: decode["transferFeeConfigAuthority"],
withdrawWithheldAuthority: decode["withdrawWithheldAuthority"],
withheldAmount: decode["withheldAmount"],
olderTransferFee: TransferFee.fromJson(decode["olderTransferFee"]),
newerTransferFee: TransferFee.fromJson(decode["newerTransferFee"]));
}