TGetPolicyResponse.fromJson constructor

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

Implementation

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