when<TResult extends Object?> method

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

Implementation

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