handleUsecaseError method
- UsecaseException error
Implementation
void handleUsecaseError(
UsecaseException error,
) {
// TODO: エラーの種類によって処理を分岐させる?
_streamController.add(
ViewEvent.error(
type: error.type,
),
);
}
void handleUsecaseError(
UsecaseException error,
) {
// TODO: エラーの種類によって処理を分岐させる?
_streamController.add(
ViewEvent.error(
type: error.type,
),
);
}