factory AttachmentDetails.fromJson(Map<String, dynamic> json) { return AttachmentDetails( attachmentId: json['attachmentId'] as String?, fileName: json['fileName'] as String?, ); }