map<TResult extends Object?> method

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

Implementation

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