when<TResult extends Object?> method
TResult
when<TResult extends Object?>({
- required TResult initial(),
- required TResult loadAttendanceRegisters(
- List<
AttendanceRegisterModel> registers, - int limit,
- int offset
- List<
- required TResult loadSelectedRegister(
- List<
AttendanceRegisterModel> registers, - String registerID
- List<
- required TResult loadMoreAttendanceRegisters(),
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function() initial,
required TResult Function(
List<AttendanceRegisterModel> registers, int limit, int offset)
loadAttendanceRegisters,
required TResult Function(
List<AttendanceRegisterModel> registers, String registerID)
loadSelectedRegister,
required TResult Function(int? limit, int? offset)
loadMoreAttendanceRegisters,
}) =>
throw _privateConstructorUsedError;