create method

Asset create (
  1. String type,
  2. String code,
  3. String issuer
)

Implementation

static Asset create(String type, String code, String issuer) {
  if (type == TYPE_NATIVE) {
    return Asset.NATIVE;
  } else {
    return Asset.createNonNativeAsset(code, issuer);
  }
}