UserRepository constructor

UserRepository(
  1. AuthRepository _auth,
  2. UserDatasource _userDatasource
)

UI state controller for the current user.

Implementation

UserRepository(this._auth, this._userDatasource) : super(AsyncValue.loading()) {
  watchAsync(_auth);
}