maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult initial(
    1. InitialAttendance value
    )?,
  2. TResult loadAttendanceRegisters(
    1. LoadAttendanceRegisterData value
    )?,
  3. TResult loadSelectedRegister(
    1. LoadSelectedAttendanceRegisterData value
    )?,
  4. TResult loadMoreAttendanceRegisters(
    1. LoadMoreAttendanceRegisterData value
    )?,
  5. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(InitialAttendance value)? initial,
  TResult Function(LoadAttendanceRegisterData value)? loadAttendanceRegisters,
  TResult Function(LoadSelectedAttendanceRegisterData value)?
      loadSelectedRegister,
  TResult Function(LoadMoreAttendanceRegisterData value)?
      loadMoreAttendanceRegisters,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;