toJson method

Map<String, dynamic> toJson()

Implementation

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