maybeWhen<TResult extends Object?> method
TResult
maybeWhen<TResult extends Object?>({
- TResult individualAttendanceLogSearch()?,
- TResult individualAttendanceMark()?,
- TResult saveAsDraft()?,
- TResult searchAttendees(
- String name
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(
String registerId,
String tenantId,
int entryTime,
int exitTime,
int currentDate,
List<AttendeeModel> attendees,
int offset,
int limit,
bool isSingleSession)?
individualAttendanceLogSearch,
TResult Function(int entryTime, int exitTime, dynamic status,
bool isSingleSession, String individualId, String registerId)?
individualAttendanceMark,
TResult Function(
int entryTime,
int exitTime,
DateTime selectedDate,
bool isSingleSession,
bool? createOplog,
double? latitude,
double? longitude)?
saveAsDraft,
TResult Function(String name)? searchAttendees,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;