accessToken property

dynamic get accessToken

Implementation

dynamic get accessToken => _accessToken;
set accessToken (dynamic accessToken)

may be a String or a Function that returns a string.

Implementation

set accessToken(dynamic accessToken) {
  if (accessToken is! String && accessToken is! MmHttpBearerAuthProvider) {
    throw ArgumentError('accessToken value must be either a String or a String Function().');
  }
  _accessToken = accessToken;
}