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