@override Object toJson() => { 'parent': parent, if (customJob != null) 'customJob': customJob!.toJson(), };