SearchSynonymsResponse constructor

const SearchSynonymsResponse({
  1. required List<SynonymHit> hits,
  2. required int nbHits,
  3. Map<String, dynamic> additionalProperties = const {},
})

Returns a new SearchSynonymsResponse instance.

Implementation

const SearchSynonymsResponse({
  required this.hits,
  required this.nbHits,
  Map<String, dynamic> additionalProperties = const {},
}) : super(additionalProperties);