DescribeProtectionResponse.fromJson constructor

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

Implementation

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