DiagramParagraphCache constructor
Implementation
DiagramParagraphCache({
required this.maxEntries,
required this.maxCodeUnits,
}) {
if (maxEntries < 0 || maxCodeUnits < 0) {
throw ArgumentError('Paragraph cache budgets cannot be negative.');
}
}