maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult file(
    1. _PlaySourceWithFile value
    )?,
  2. TResult network(
    1. _PlaySourceWithNetwork value
    )?,
  3. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(_PlaySourceWithFile value)? file,
  TResult Function(_PlaySourceWithNetwork value)? network,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;