maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult loadLocalization(
    1. List codes
    )?,
  2. TResult initial()?,
  3. TResult loadSelectedRegister(
    1. List<AttendanceRegisterModel> registers,
    2. String registerID
    )?,
  4. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function(List<dynamic> codes)? loadLocalization,
  TResult Function()? initial,
  TResult Function(
          List<AttendanceRegisterModel> registers, String registerID)?
      loadSelectedRegister,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;