AttendanceEvents class

Implementers
Annotations
  • @freezed

Constructors

AttendanceEvents.initial()
const
factory
AttendanceEvents.loadAttendanceRegisters({required List<AttendanceRegisterModel> registers, required int limit, required int offset})
const
factory
AttendanceEvents.loadMoreAttendanceRegisters({int? limit, int? offset})
const
factory
AttendanceEvents.loadSelectedRegister({required List<AttendanceRegisterModel> registers, required String registerID})
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>({required TResult initial(InitialAttendance value), required TResult loadAttendanceRegisters(LoadAttendanceRegisterData value), required TResult loadSelectedRegister(LoadSelectedAttendanceRegisterData value), required TResult loadMoreAttendanceRegisters(LoadMoreAttendanceRegisterData value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? initial(InitialAttendance value)?, TResult? loadAttendanceRegisters(LoadAttendanceRegisterData value)?, TResult? loadSelectedRegister(LoadSelectedAttendanceRegisterData value)?, TResult? loadMoreAttendanceRegisters(LoadMoreAttendanceRegisterData value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult initial(InitialAttendance value)?, TResult loadAttendanceRegisters(LoadAttendanceRegisterData value)?, TResult loadSelectedRegister(LoadSelectedAttendanceRegisterData value)?, TResult loadMoreAttendanceRegisters(LoadMoreAttendanceRegisterData value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult initial()?, TResult loadAttendanceRegisters(List<AttendanceRegisterModel> registers, int limit, int offset)?, TResult loadSelectedRegister(List<AttendanceRegisterModel> registers, String registerID)?, TResult loadMoreAttendanceRegisters(int? limit, int? offset)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult initial(), required TResult loadAttendanceRegisters(List<AttendanceRegisterModel> registers, int limit, int offset), required TResult loadSelectedRegister(List<AttendanceRegisterModel> registers, String registerID), required TResult loadMoreAttendanceRegisters(int? limit, int? offset)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? initial()?, TResult? loadAttendanceRegisters(List<AttendanceRegisterModel> registers, int limit, int offset)?, TResult? loadSelectedRegister(List<AttendanceRegisterModel> registers, String registerID)?, TResult? loadMoreAttendanceRegisters(int? limit, int? offset)?}) → TResult?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited