TokenUnavailableUserDataSource class
Implementation of UserDataSource to use when no token is available.
This implementation will not throw any errors, but will return empty lists and default values instead.
- Inheritance
- 
    - Object
- UserDataSource
- TokenUnavailableUserDataSource
 
Constructors
- Standard implementation of UserDataSource.
Properties
- error → Object?
- 
  The error that caused the token to be unavailable (if available).
  final
- hashCode → int
- 
  The hash code for this object.
  read-onlyinherited
- logger → Logger
- 
  The logger to use.
  final
- reason → String
- 
  The reason why the token is not available.
  final
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  read-onlyinherited
- stackTrace → StackTrace?
- 
  The stack trace of the error (if available) of the error (if any) that caused the token to be unavailable.
  final
Methods
- 
  deleteUser(User user) → Future< void> 
- 
  Deletes the user from the server.
  override
- 
  fetchAllUsers() → Future< List< User> >
- 
  Fetches all users.
  override
- 
  fetchCurrentUser() → Future< User> 
- 
  Fetches the current user.
  override
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
- 
  updateUser(User user) → Future< User> 
- 
  Sends the userto the server and returns the updatedUserfrom the server.override
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited