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