toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      if (ranker != null) 'ranker': ranker,
      if (scoreThreshold != null) 'score_threshold': scoreThreshold,
    };