DataService<T> constructor

DataService<T>({
  1. bool isLazy = false,
})

Implementation

DataService({bool isLazy = false}) {
  if (!isLazy) {
    loadInitial();
  }
  onLogout(() => reset());
}