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