maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult unknown(
    1. Unknown value
    )?,
  2. TResult video(
    1. Video value
    )?,
  3. TResult image(
    1. Image value
    )?,
  4. TResult vr(
    1. Model3D value
    )?,
  5. TResult audio(
    1. Audio value
    )?,
  6. TResult html(
    1. Html value
    )?,
  7. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(Unknown value)? unknown,
  TResult Function(Video value)? video,
  TResult Function(Image value)? image,
  TResult Function(Model3D value)? vr,
  TResult Function(Audio value)? audio,
  TResult Function(Html value)? html,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;