whenOrNull<TResult extends Object?> method

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

Implementation

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