when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult individualAttendanceLogSearch(
    1. String registerId,
    2. String tenantId,
    3. int entryTime,
    4. int exitTime,
    5. int currentDate,
    6. List<AttendeeModel> attendees,
    7. int offset,
    8. int limit,
    9. bool isSingleSession,
    ),
  2. required TResult individualAttendanceMark(
    1. int entryTime,
    2. int exitTime,
    3. dynamic status,
    4. bool isSingleSession,
    5. String individualId,
    6. String registerId,
    ),
  3. required TResult saveAsDraft(
    1. int entryTime,
    2. int exitTime,
    3. DateTime selectedDate,
    4. bool isSingleSession,
    5. bool? createOplog,
    6. double? latitude,
    7. double? longitude,
    ),
  4. required TResult searchAttendees(
    1. String name
    ),
})
inherited

Implementation

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