maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult knownValue(
    1. USearchPostsSortKnownValue value
    )?,
  2. TResult unknownValue(
    1. USearchPostsSortUnknownValue value
    )?,
  3. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(USearchPostsSortKnownValue value)? knownValue,
  TResult Function(USearchPostsSortUnknownValue value)? unknownValue,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;