AffectedRequest.fromJson constructor

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

Implementation

factory AffectedRequest.fromJson(Map<String, dynamic> json) {
  return AffectedRequest(
    requestId: network.RequestId.fromJson(json['requestId'] as String),
    url: json.containsKey('url') ? json['url'] as String : null,
  );
}