Aidra Driver
1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
history_collections_event.dart
Go to the documentation of this file.
1
part of
'history_collections_bloc.dart'
;
2
3
sealed
class
HistoryCollectionsEvent
extends
Equatable
{
4
const
HistoryCollectionsEvent
();
5
6
@
override
7
List<Object>
get
props
=> [];
8
}
9
10
class
LoadHistoryCollectionsEvent
extends
HistoryCollectionsEvent
{
11
final
int
userId
;
12
final
String
?
period
;
13
14
const
LoadHistoryCollectionsEvent
({
15
required this.userId,
16
required this.period,
17
});
18
19
@
override
20
List<Object>
get
props
=> [
userId
,
period
??
''
];
21
}
22
23
class
LoadHistoryCollectionsWithDateRangeEvent
extends
HistoryCollectionsEvent
{
24
final
int
userId
;
25
final
DateTime
dateStart
;
26
final
DateTime
dateEnd
;
27
28
const
LoadHistoryCollectionsWithDateRangeEvent
({
29
required this.userId,
30
required this.dateStart,
31
required this.dateEnd,
32
});
33
34
@
override
35
List<Object>
get
props
=> [
userId
,
dateStart
,
dateEnd
];
36
}
userId
sealed class CheckInOutEvent extends Equatable userId
Definition
collections_event.dart:48
Equatable
Definition
collection_entity.dart:7
Equatable::HistoryCollectionsEvent
const HistoryCollectionsEvent()
Equatable::props
override List< Object?> get props
Definition
collection_entity.dart:51
HistoryCollectionsEvent
Definition
history_collections_event.dart:23
HistoryCollectionsEvent::dateEnd
final DateTime dateEnd
Definition
history_collections_event.dart:26
HistoryCollectionsEvent::props
override List< Object > get props
Definition
history_collections_event.dart:35
HistoryCollectionsEvent::LoadHistoryCollectionsWithDateRangeEvent
const LoadHistoryCollectionsWithDateRangeEvent({ required this.userId, required this.dateStart, required this.dateEnd, })
HistoryCollectionsEvent::dateStart
final DateTime dateStart
Definition
history_collections_event.dart:25
HistoryCollectionsEvent::userId
final int userId
Definition
history_collections_event.dart:24
String
class Partner String
get
String get(String locale)
LoadHistoryCollectionsEvent
const LoadHistoryCollectionsEvent({ required this.userId, required this.period, })
period
abstract class PeriodEvent extends Equatable period
Definition
period_event.dart:31
props
abstract class UseCase< Type, Params > props
Definition
collections_event.dart:56
lib
features
history
presentation
bloc
history_collections
history_collections_event.dart
Generated by
1.16.1