Auth.fromJson constructor

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

Implementation

factory Auth.fromJson(Map<String, dynamic> json) => Auth(
      expiresIn: json['expires_in'],
      tokenType: json['token_type'],
      accessToken: json['access_token'],
    );