toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (assetType != null) 'assetType': assetType!,
if (name != null) 'name': name!,
if (type != null) 'type': type!,
if (uri != null) 'uri': uri!,
};