when<TResult extends Object?> method

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

Implementation

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