Map<String, dynamic> toJson() { final status = this.status; final summary = this.summary; return { 'status': status.toValue(), 'summary': summary, }; }