EchoResponse.fromJson constructor

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

Implementation

EchoResponse.fromJson(Map<String, dynamic> json) {
  data = json['data'];
  length = json['length'];
  method = json['method'];
  authHeader = json['auth_header'];
  form = json['form'] != null ? new Form.fromJson(json['form']) : null;
  queryString = json['query_string'];

  errorText = json['error_text'];
  successText = json['success_text'];
}