PutResourcePolicyResponse.fromJson constructor

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

Implementation

factory PutResourcePolicyResponse.fromJson(Map<String, dynamic> json) {
  return PutResourcePolicyResponse(
    resourcePolicy: json['resourcePolicy'] != null
        ? ResourcePolicy.fromJson(
            json['resourcePolicy'] as Map<String, dynamic>)
        : null,
  );
}