Map<String, Object?> toJson() { var results = this.results; final json = <String, Object?>{}; json[r'results'] = results.map((i) => i.toJson()).toList(); return json; }