toJson method Null safety
Implementation
Map<String, dynamic> toJson() {
final json = _$PollOptionRetrievalParamsToJson(this);
json.removeWhere((key, value) => value == null);
return json;
}
Map<String, dynamic> toJson() {
final json = _$PollOptionRetrievalParamsToJson(this);
json.removeWhere((key, value) => value == null);
return json;
}