toJson method Null safety

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  var json = _$ScheduledFileMessageUpdateParamsToJson(this);
  json.removeWhere((key, value) => value == null);
  return json;
}