maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<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
    )?,
  5. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<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,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;