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