hasToken property

bool get hasToken

Returns true if this APICredential has a token.

Implementation

bool get hasToken => token != null && token!.isNotEmpty;