whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. 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. TResult? individualAttendanceMark(
    1. int entryTime,
    2. int exitTime,
    3. dynamic status,
    4. bool isSingleSession,
    5. String individualId,
    6. String registerId,
    )?,
  3. TResult? saveAsDraft(
    1. int entryTime,
    2. int exitTime,
    3. DateTime selectedDate,
    4. bool isSingleSession,
    5. bool? createOplog,
    6. double? latitude,
    7. double? longitude,
    )?,
  4. TResult? searchAttendees(
    1. String name
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<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,
}) =>
    throw _privateConstructorUsedError;