maybeWhen<TResult extends Object?> method
TResult
maybeWhen<TResult extends Object?>({
- TResult initial()?,
- TResult loading()?,
- TResult loaded(
- List<
AttendeeModel> ? attendanceSearchModelList, - List<
AttendeeModel> ? attendanceCollectionModel, - int offsetData,
- int currentOffset,
- int countData,
- int limitData,
- bool viewOnly,
- List<
- TResult error(
- String? error
- 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;