CreatePolicyResponse.fromJson constructor

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

Implementation

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