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