whenOrNull<TResult extends Object?> method
TResult?
whenOrNull<TResult extends Object?>({
- TResult? registerLoading()?,
- TResult? registerLoaded(
- List<
AttendanceRegisterModel> registers, - int offset,
- int limit
- List<
- TResult? selectedRegisterLoaded(
- AttendanceRegisterModel? selectedRegister
- TResult? registerError(
- String message
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<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,
}) =>
throw _privateConstructorUsedError;