feat: product variant

This commit is contained in:
efrilm
2025-08-04 17:42:39 +07:00
parent 04e1edbe79
commit 835c834ce1
18 changed files with 718 additions and 1024 deletions
@@ -19,13 +19,5 @@ class OutletLoaderBloc extends Bloc<OutletLoaderEvent, OutletLoaderState> {
(r) => emit(_Loaded(r.data?.outlets ?? [])),
);
});
on<_CurrentOutlet>((event, emit) async {
emit(const _LoadingDetail());
final result = await _outletRemoteDataSource.currentOutlet();
result.fold(
(l) => emit(_ErrorDetail(l)),
(r) => emit(_LoadedDetail(r.data!)),
);
});
}
}