TF-1115 Remove method not used
This commit is contained in:
@@ -46,14 +46,6 @@ abstract class BaseController extends GetxController
|
||||
viewState.value = newState;
|
||||
}
|
||||
|
||||
void getState(Future<Either<Failure, Success>> newStateStream) async {
|
||||
final state = await newStateStream;
|
||||
state.fold(
|
||||
(failure) => onError(failure),
|
||||
(success) => onData(state)
|
||||
);
|
||||
}
|
||||
|
||||
void clearState() {
|
||||
viewState.value = Right(UIState.idle);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user