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