Map<String, dynamic> toJson() { return { 'bgraRawImage': bgraRawImage.toJson(), 'document': document?.toJson(), 'content': content.toJson(), }; }