TokenResponse.fromJson constructor

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

Implementation

factory TokenResponse.fromJson(Map<String, dynamic> json) => TokenResponse(
  statusCode: json["status_code"],
  responseCode: json["response_code"],
  status: json["status"],
  message: json["message"],
  data: json["data"] == null ? null : Data.fromJson(json["data"]),
);