toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      'state': state,
      'staleDate': staleDate,
      'relevanceScore': relevanceScore,
    };