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