@override Object toJson() => { 'parent': parent, if (dataLabelingJob case final dataLabelingJob?) 'dataLabelingJob': dataLabelingJob.toJson(), };