toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.from != null) {
    json[r'from'] = this.from;
  } else {
    json[r'from'] = null;
  }
  json[r'report_types'] = this.reportTypes;
  if (this.to != null) {
    json[r'to'] = this.to;
  } else {
    json[r'to'] = null;
  }
  return json;
}