mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult? messageView(
    1. UConvoViewLastMessageMessageView value
    )?,
  2. TResult? deletedMessageView(
    1. UConvoViewLastMessageDeletedMessageView value
    )?,
  3. TResult? unknown(
    1. UConvoViewLastMessageUnknown value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(UConvoViewLastMessageMessageView value)? messageView,
  TResult? Function(UConvoViewLastMessageDeletedMessageView value)?
      deletedMessageView,
  TResult? Function(UConvoViewLastMessageUnknown value)? unknown,
}) =>
    throw _privateConstructorUsedError;