Aidra Driver
1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
history_collections_state.dart
Go to the documentation of this file.
1
part of
'history_collections_bloc.dart'
;
2
3
sealed
class
HistoryCollectionsState
extends
Equatable
{
4
const
HistoryCollectionsState
();
5
6
@
override
7
List<Object>
get
props
=> [];
8
}
9
10
11
class
HistoryCollectionsInitial
extends
HistoryCollectionsState
{}
12
13
class
HistoryCollectionsLoading
extends
HistoryCollectionsState
{}
14
15
class
HistoryCollectionsLoaded
extends
HistoryCollectionsState
{
16
final
List<CollectionEntity>
collections
;
17
18
const
HistoryCollectionsLoaded
({required this.collections});
19
20
@
override
21
List<Object>
get
props
=> [
collections
];
22
}
23
24
class
HistoryCollectionsError
extends
HistoryCollectionsState
{
25
final
Failure
failure
;
26
27
const
HistoryCollectionsError
({required this.failure});
28
29
@
override
30
List<Object>
get
props
=> [
failure
];
31
}
Equatable
Definition
collection_entity.dart:7
Equatable::HistoryCollectionsState
const HistoryCollectionsState()
Equatable::props
override List< Object?> get props
Definition
collection_entity.dart:51
Failure
Definition
failures.dart:24
HistoryCollectionsState
Definition
history_collections_state.dart:24
HistoryCollectionsState::props
override List< Object > get props
Definition
history_collections_state.dart:30
HistoryCollectionsState::HistoryCollectionsError
const HistoryCollectionsError({required this.failure})
HistoryCollectionsState::failure
final Failure failure
Definition
history_collections_state.dart:25
collections
sealed class CollectionsState extends Equatable collections
get
String get(String locale)
HistoryCollectionsLoaded
const HistoryCollectionsLoaded({required this.collections})
props
abstract class UseCase< Type, Params > props
Definition
collections_event.dart:56
lib
features
history
presentation
bloc
history_collections
history_collections_state.dart
Generated by
1.16.1