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