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