GetPolicyResponse.fromJson constructor
GetPolicyResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory GetPolicyResponse.fromJson(Map<String, dynamic> json) {
return GetPolicyResponse(
creationDate: timeStampFromJson(json['creationDate']),
defaultVersionId: json['defaultVersionId'] as String?,
generationId: json['generationId'] as String?,
lastModifiedDate: timeStampFromJson(json['lastModifiedDate']),
policyArn: json['policyArn'] as String?,
policyDocument: json['policyDocument'] as String?,
policyName: json['policyName'] as String?,
);
}