maybeMap<TResult extends Object?> method

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

Implementation

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