Hit.fromJson constructor
Implementation
factory Hit.fromJson(Map<String, dynamic> json) {
final instance = _$HitFromJson(json);
final additionalProperties = Map<String, dynamic>.from(json)
..removeWhere((key, value) => _$HitFieldMap.containsKey(key));
return Hit(
objectID: instance.objectID,
highlightResult: instance.highlightResult,
snippetResult: instance.snippetResult,
rankingInfo: instance.rankingInfo,
distinctSeqID: instance.distinctSeqID,
additionalProperties: additionalProperties,
);
}