fromJson static method
Implementation
static CedarPolicyAction fromJson(Map<String, Object?> json) {
return CedarPolicyAction(
op: CedarPolicyOp.fromJson(json['op'] as String),
entity: json['entity'] == null
? null
: CedarEntityId.fromJson(json['entity'] as Map<String, Object?>),
entities: (json['entities'] as List<Object?>?)
?.map((e) => CedarEntityId.fromJson(e as Map<String, Object?>))
.toList(),
);
}