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