BlockedByResponseIssueDetails.fromJson constructor
BlockedByResponseIssueDetails.fromJson(
- Map<String, dynamic> json
)
Implementation
factory BlockedByResponseIssueDetails.fromJson(Map<String, dynamic> json) {
return BlockedByResponseIssueDetails(
request:
AffectedRequest.fromJson(json['request'] as Map<String, dynamic>),
parentFrame: json.containsKey('parentFrame')
? AffectedFrame.fromJson(json['parentFrame'] as Map<String, dynamic>)
: null,
blockedFrame: json.containsKey('blockedFrame')
? AffectedFrame.fromJson(json['blockedFrame'] as Map<String, dynamic>)
: null,
reason: BlockedByResponseReason.fromJson(json['reason'] as String),
);
}