token property

String get token

Implementation

String get token {
  if (currentToken == null || currentToken!.isEmpty) {
    throw StateError('token not issued for this account instance');
  }
  return currentToken!;
}