toJson method

Map<String, dynamic> toJson()

Implementation

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