toJson method
Implementation
Map<String, dynamic> toJson() {
final searchableAttributes = this.searchableAttributes;
final thingTypeDescription = this.thingTypeDescription;
return {
if (searchableAttributes != null)
'searchableAttributes': searchableAttributes,
if (thingTypeDescription != null)
'thingTypeDescription': thingTypeDescription,
};
}