toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.displayName != null) {
    json[r'display_name'] = this.displayName;
  } else {
    json[r'display_name'] = null;
  }
  if (this.description != null) {
    json[r'description'] = this.description;
  } else {
    json[r'description'] = null;
  }
  if (this.reportName != null) {
    json[r'report_name'] = this.reportName;
  } else {
    json[r'report_name'] = null;
  }
  if (this.icon != null) {
    json[r'icon'] = this.icon;
  } else {
    json[r'icon'] = null;
  }
    json[r'extra_query_params'] = this.extraQueryParams;
    json[r'status'] = this.status;
  return json;
}