when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult handleSubmit(
    1. SideEffectModel sideEffect,
    2. bool isEditing
    ),
  2. required TResult handleSearch(
    1. SideEffectSearchModel sideEffectSearch
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult when<TResult extends Object?>({
  required TResult Function(SideEffectModel sideEffect, bool isEditing)
      handleSubmit,
  required TResult Function(SideEffectSearchModel sideEffectSearch)
      handleSearch,
}) =>
    throw _privateConstructorUsedError;