DocMatch.fromJson constructor

DocMatch.fromJson(
  1. Map<String, dynamic> map
)

Implementation

factory DocMatch.fromJson(Map<String, dynamic> map) {
  return DocMatch(
    ref: map['ref'],
    score: map['score'],
    matchData: MatchData.fromJson(map['matchData']),
  );
}