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