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