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