CreatePolicyResponse.fromJson constructor

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

Implementation

factory CreatePolicyResponse.fromJson(Map<String, dynamic> json) {
  return CreatePolicyResponse(
    policyArn: json['policyArn'] as String?,
    policyDocument: json['policyDocument'] as String?,
    policyName: json['policyName'] as String?,
    policyVersionId: json['policyVersionId'] as String?,
  );
}