toJson method

Map<String, dynamic> toJson()

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(),
    };