asset property

Asset get asset

Implementation

Asset get asset {
  if (assetType == Asset.TYPE_NATIVE) {
    return AssetTypeNative();
  } else {
    return Asset.createNonNativeAsset(assetCode!, assetIssuer!);
  }
}