UsersRepository constructor

UsersRepository(
  1. UserDatasource _datasource,
  2. AuthRepository _auth
)

Holds all users of the application.

Implementation

UsersRepository(this._datasource, this._auth) : super(AsyncValue.loading()) {
  watchAsync(_auth);
}