maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult messageView(
    1. UGetMessagesMessageMessageView value
    )?,
  2. TResult deletedMessageView(
    1. UGetMessagesMessageDeletedMessageView value
    )?,
  3. TResult unknown(
    1. UGetMessagesMessageUnknown value
    )?,
  4. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(UGetMessagesMessageMessageView value)? messageView,
  TResult Function(UGetMessagesMessageDeletedMessageView value)?
      deletedMessageView,
  TResult Function(UGetMessagesMessageUnknown value)? unknown,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;