toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.schemaVersion != null) {
    json[r'schema_version'] = this.schemaVersion;
  } else {
    json[r'schema_version'] = null;
  }
  if (this.total != null) {
    json[r'total'] = this.total;
  } else {
    json[r'total'] = null;
  }
  if (this.summary != null) {
    json[r'summary'] = this.summary;
  } else {
    json[r'summary'] = null;
  }
    json[r'results'] = this.results;
  return json;
}