map<TResult extends Object?> method

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

Implementation

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