toJson method
Implementation
Map<String, dynamic> toJson() {
final result$data = <String, dynamic>{};
final l$cycle = cycle;
result$data['cycle'] = toJson$Enum$LeaderboardCycleEnum(l$cycle);
final l$target = target;
result$data['target'] = l$target.toJson();
if (_$data.containsKey('searchString')) {
final l$searchString = searchString;
result$data['searchString'] = l$searchString;
}
return result$data;
}