toJson method
Implementation
Map<String, dynamic> toJson() {
final propertyValue = this.propertyValue;
final assetId = this.assetId;
final entryId = this.entryId;
final propertyAlias = this.propertyAlias;
final propertyId = this.propertyId;
return {
'propertyValue': propertyValue,
if (assetId != null) 'assetId': assetId,
if (entryId != null) 'entryId': entryId,
if (propertyAlias != null) 'propertyAlias': propertyAlias,
if (propertyId != null) 'propertyId': propertyId,
};
}