mapOrNull<TResult extends Object?> method

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

Implementation

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