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