Allowed.fromJson constructor
Implementation
factory Allowed.fromJson(Map<String, dynamic> json) {
return Allowed(
policies: (json['policies'] as List?)
?.whereNotNull()
.map((e) => Policy.fromJson(e as Map<String, dynamic>))
.toList(),
);
}