Map<String, dynamic> toJson() { final content = this.content; final type = this.type; return { 'Content': content, 'Type': type.toValue(), }; }