mirrored_repositories/OLO-Games/marketplace/lib/presentation/bloc
import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:marketplace/domain/entity/desired.dart';

part 'desired_state.freezed.dart';

@freezed
class DesiredState with _$DesiredState {
  const factory DesiredState.load() = DesiredStateLoad;
  const factory DesiredState.loading({
    required List<Desired> desireds,
  }) = DesiredStateLoading;
  const factory DesiredState.error({required String message}) =
      DesiredStateError;
  const factory DesiredState.noNetwork() = DesiredStateNoNetwork;
}
