core.Map<core.String, core.dynamic> toJson() => { if (customClass != null) 'customClass': customClass!, if (customClassId != null) 'customClassId': customClassId!, };