maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<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
    )?,
  7. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<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,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;