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