JSRequest.fromJson constructor

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

Implementation

factory JSRequest.fromJson(Map<String, dynamic> json) {
  return JSRequest(
      header: RequestHeader.fromJson(json['header']),
      body: RequestBody.fromJson(json['body']));
}