ApplicationPolicyStatement.fromJson constructor
ApplicationPolicyStatement.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ApplicationPolicyStatement.fromJson(Map<String, dynamic> json) {
return ApplicationPolicyStatement(
actions: (json['actions'] as List)
.whereNotNull()
.map((e) => e as String)
.toList(),
principals: (json['principals'] as List)
.whereNotNull()
.map((e) => e as String)
.toList(),
principalOrgIDs: (json['principalOrgIDs'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
statementId: json['statementId'] as String?,
);
}