fromXdr

Creates a ChangeTrustAsset from its XDR representation.

Return

A new ChangeTrustAsset instance

Parameters

xdr

The XDR representation of the ChangeTrustAsset

Throws

if the asset type is unknown