TokenOwnedEscrow.fromBuffer constructor
Implementation
factory TokenOwnedEscrow.fromBuffer(List<int> data) {
final decode =
LayoutSerializable.decode(bytes: data, layout: _Utils.layout);
return TokenOwnedEscrow(
key: MetaDataKey.fromValue(decode["key"]),
baseToken: decode["baseToken"],
authority: EscrowAuthority.fromJson(decode["authority"]),
bump: decode["bump"]);
}