whenOrNull<TResult extends Object?> method
TResult?
whenOrNull<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
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;