part of 'current_outlet_loader_bloc.dart';

@freezed
class CurrentOutletLoaderState with _$CurrentOutletLoaderState {
  const factory CurrentOutletLoaderState({
    required Outlet outlet,
    required Option<OutletFailure> failureOptionOutlet,
    @Default(false) bool isFetching,
  }) = _CurrentOutletLoaderState;

  factory CurrentOutletLoaderState.initial() => CurrentOutletLoaderState(
    outlet: Outlet.empty(),
    failureOptionOutlet: none(),
  );
}
