2025-07-30 22:38:44 +07:00
|
|
|
part of 'get_table_bloc.dart';
|
|
|
|
|
|
|
|
|
|
@freezed
|
|
|
|
|
class GetTableState with _$GetTableState {
|
|
|
|
|
const factory GetTableState.initial() = _Initial;
|
|
|
|
|
const factory GetTableState.loading() = _Loading;
|
|
|
|
|
const factory GetTableState.success(List<TableModel> tables) = _Success;
|
2025-08-03 23:53:06 +07:00
|
|
|
const factory GetTableState.error(String message) = _Error;
|
2025-07-30 22:38:44 +07:00
|
|
|
}
|