maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult video(
    1. String? url,
    2. File? file
    )?,
  2. TResult image(
    1. String? url,
    2. File? file
    )?,
  3. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function(String? url, File? file)? video,
  TResult Function(String? url, File? file)? image,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;