maybeMap<TResult extends Object?> method

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

Implementation

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