whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? initial()?,
  2. TResult? loadAttendanceRegisters(
    1. List<AttendanceRegisterModel> registers,
    2. int limit,
    3. int offset
    )?,
  3. TResult? loadSelectedRegister(
    1. List<AttendanceRegisterModel> registers,
    2. String registerID
    )?,
  4. TResult? loadMoreAttendanceRegisters(
    1. int? limit,
    2. int? offset
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<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,
}) =>
    throw _privateConstructorUsedError;