when<TResult extends Object?> method
TResult
when<TResult extends Object?>({
- required TResult registerLoading(),
- required TResult registerLoaded(
- List<
AttendanceRegisterModel> registers, - int offset,
- int limit
- List<
- required TResult selectedRegisterLoaded(
- AttendanceRegisterModel? selectedRegister
- required TResult registerError(
- String message
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function() registerLoading,
required TResult Function(
List<AttendanceRegisterModel> registers, int offset, int limit)
registerLoaded,
required TResult Function(AttendanceRegisterModel? selectedRegister)
selectedRegisterLoaded,
required TResult Function(String message) registerError,
}) =>
throw _privateConstructorUsedError;