whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? initial()?,
  2. TResult? loading()?,
  3. TResult? loaded(
    1. List<AttendeeModel>? attendanceSearchModelList,
    2. List<AttendeeModel>? attendanceCollectionModel,
    3. int offsetData,
    4. int currentOffset,
    5. int countData,
    6. int limitData,
    7. bool viewOnly,
    )?,
  4. TResult? error(
    1. String? error
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function()? initial,
  TResult? Function()? loading,
  TResult? Function(
          List<AttendeeModel>? attendanceSearchModelList,
          List<AttendeeModel>? attendanceCollectionModel,
          int offsetData,
          int currentOffset,
          int countData,
          int limitData,
          bool viewOnly)?
      loaded,
  TResult? Function(String? error)? error,
}) =>
    throw _privateConstructorUsedError;