GetPolicyResponse.fromJson constructor

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

Implementation

factory GetPolicyResponse.fromJson(Map<String, dynamic> json) {
  return GetPolicyResponse(
    policy: json['policy'] as String,
    revisionId: json['revisionId'] as String,
  );
}