JSResponse.fromJson constructor

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

Implementation

factory JSResponse.fromJson(Map<String, dynamic> json) {
  return JSResponse(
      header: ResponseHeader.fromJson(json['header']),
      body: ResponseBody.fromJson(json['body']));
}