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