PolicySummary.fromJson constructor

PolicySummary.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory PolicySummary.fromJson(Map<String, dynamic> json) {
  return PolicySummary(
    arn: json['Arn'] as String?,
    awsManaged: json['AwsManaged'] as bool?,
    description: json['Description'] as String?,
    id: json['Id'] as String?,
    name: json['Name'] as String?,
    type: (json['Type'] as String?)?.toPolicyType(),
  );
}