maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult video(
    1. SearchVideo value
    )?,
  2. TResult playlist(
    1. SearchPlaylist value
    )?,
  3. TResult channel(
    1. SearchChannel value
    )?,
  4. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(SearchVideo value)? video,
  TResult Function(SearchPlaylist value)? playlist,
  TResult Function(SearchChannel value)? channel,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;