PayUAuthResponse.fromJson constructor

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

Implementation

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