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