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