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