AttendanceStates class

Implementers
Annotations
  • @freezed

Constructors

AttendanceStates.registerError(String message)
const
factory
AttendanceStates.registerLoaded({required List<AttendanceRegisterModel> registers, @Default(0) int offset, @Default(10) int limit})
const
factory
AttendanceStates.registerLoading()
const
factory
AttendanceStates.selectedRegisterLoaded({AttendanceRegisterModel? selectedRegister})
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 registerLoading(RegisterLoading value), required TResult registerLoaded(RegisterLoaded value), required TResult selectedRegisterLoaded(SelectedRegisterLoaded value), required TResult registerError(RegisterError value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? registerLoading(RegisterLoading value)?, TResult? registerLoaded(RegisterLoaded value)?, TResult? selectedRegisterLoaded(SelectedRegisterLoaded value)?, TResult? registerError(RegisterError value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult registerLoading(RegisterLoading value)?, TResult registerLoaded(RegisterLoaded value)?, TResult selectedRegisterLoaded(SelectedRegisterLoaded value)?, TResult registerError(RegisterError value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult registerLoading()?, TResult registerLoaded(List<AttendanceRegisterModel> registers, int offset, int limit)?, TResult selectedRegisterLoaded(AttendanceRegisterModel? selectedRegister)?, TResult registerError(String message)?, 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 registerLoading(), required TResult registerLoaded(List<AttendanceRegisterModel> registers, int offset, int limit), required TResult selectedRegisterLoaded(AttendanceRegisterModel? selectedRegister), required TResult registerError(String message)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? registerLoading()?, TResult? registerLoaded(List<AttendanceRegisterModel> registers, int offset, int limit)?, TResult? selectedRegisterLoaded(AttendanceRegisterModel? selectedRegister)?, TResult? registerError(String message)?}) → TResult?
inherited

Operators

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