fromJson static method

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

from json map

Implementation

static fromJson(Map<String, dynamic> json) {
  return AuthResp(
    accessToken: json["access_token"],
    expiresTime: json["expires_in"],
    tokenType: json["token_type"],
    scope: json["scope"],
    refreshToken: json["refresh_token"],
    tokenTime: json["token_time"],
  );
}