maybeMap<TResult extends Object?> method

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

Implementation

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