OnChainAsset constructor
OnChainAsset({})
Implementation
factory OnChainAsset({
$core.String? timestamp,
$core.String? assetName,
$core.String? creatorName,
$core.String? creatorDID,
$core.String? price,
$core.String? note,
$core.String? status,
$core.String? hash,
$core.String? chain,
$core.String? url,
}) {
final _result = create();
if (timestamp != null) {
_result.timestamp = timestamp;
}
if (assetName != null) {
_result.assetName = assetName;
}
if (creatorName != null) {
_result.creatorName = creatorName;
}
if (creatorDID != null) {
_result.creatorDID = creatorDID;
}
if (price != null) {
_result.price = price;
}
if (note != null) {
_result.note = note;
}
if (status != null) {
_result.status = status;
}
if (hash != null) {
_result.hash = hash;
}
if (chain != null) {
_result.chain = chain;
}
if (url != null) {
_result.url = url;
}
return _result;
}