when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult initial(),
  2. required TResult loading(),
  3. required 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. required TResult error(
    1. String? error
    ),
})
inherited

Implementation

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