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