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