v1GetPolicyResponse.fromJson constructor

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

Implementation

factory v1GetPolicyResponse.fromJson(Map<String, dynamic> json) {
  final _policy = v1Policy.fromJson(json['policy'] as Map<String, dynamic>);
  return v1GetPolicyResponse(
    policy: _policy,
  );
}