mapOrNull<TResult extends Object?> method

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

Implementation

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