requestToken method

Future<Either<Failure, Token>> requestToken(
  1. String code
)

Implementation

Future<Either<Failure, Token>> requestToken(String code) async {
  final tokenRequest = TokenRequestDetails(config, code);
  return await _sendTokenRequest(
      tokenRequest.url, tokenRequest.params, tokenRequest.headers);
}