getRefreshTokenFromApi method

  1. @override
Future<AuthResponse> getRefreshTokenFromApi(
  1. String appPackageName,
  2. String authCode,
  3. String deviceId,
  4. String email,
)
override

Implementation

@override
Future<AuthResponse> getRefreshTokenFromApi(String appPackageName, String authCode, String deviceId, String email,) {
  final query = {
    'appPackageName': appPackageName,
    'authCode': authCode,
    'deviceId': deviceId,
    'email': email
  };

  return _getResponse(AuthApiRoutes.GET_REFRESH_TOKEN, query);
}