whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? unknown()?,
  2. TResult? video(
    1. List<File> files
    )?,
  3. TResult? image(
    1. List<File> files
    )?,
  4. TResult? vr(
    1. List<File> files
    )?,
  5. TResult? audio(
    1. List<File> files
    )?,
  6. TResult? html(
    1. List<File> files
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function()? unknown,
  TResult? Function(List<File> files)? video,
  TResult? Function(List<File> files)? image,
  TResult? Function(List<File> files)? vr,
  TResult? Function(List<File> files)? audio,
  TResult? Function(List<File> files)? html,
}) =>
    throw _privateConstructorUsedError;