ChatMessageContentMultiModal constructor
ChatMessageContentMultiModal({
- required List<
ChatMessageContent> parts,
Implementation
ChatMessageContentMultiModal({
required this.parts,
}) : assert(
!parts.any((final p) => p is ChatMessageContentMultiModal),
'Multi-modal messages cannot contain other multi-modal messages.',
);