authToken property

String get authToken

Implementation

String get authToken {
  if (this.token != null) {
    return this.token as String;
  }
  return base64Encode(utf8.encode('${this.username}:${this.password}'));
}