Monitor.fromJson constructor

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

Implementation

Monitor.fromJson(Map<String, dynamic> json)
    : id = json['id'],
      url = json['url'],
      scheme = json['scheme'],
      host = json['host'],
      path = json['path'],
      query = json['query'],
      protocol = json['protocol'],
      method = json['method'],
      requestHeaders = json['requestHeaders'],
      requestBody = json['requestBody'],
      requestContentType = json['requestContentType'],
      requestContentLength = json['requestContentLength'],
      requestDate = json['requestDate'],
      responseHeaders = json['responseHeaders'],
      responseBody = json['responseBody'],
      responseContentType = json['responseContentType'],
      responseContentLength = json['responseContentLength'],
      responseDate = json['responseDate'],
      responseTlsVersion = json['responseTlsVersion'],
      responseCipherSuite = json['responseCipherSuite'],
      responseCode = json['responseCode'],
      responseMessage = json['responseMessage'],
      error = json['error'],
      curl = json['curl'],
      outerId = json["outerId"],
      source = json["source"];