whenOrNull<TResult extends Object?> method

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

Implementation

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