maybeMap<TResult extends Object?> method

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

Implementation

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