fromJson static method

JsonResult fromJson(
  1. dynamic json
)

Implementation

static JsonResult fromJson(dynamic json) {
  return JsonResult(
      message: json["message"],
      statusCode: json["status_code"],
      data: json["data"]
    );
}