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