Skip to content

Commit 5e686f0

Browse files
rajveermalviyagnprice
authored andcommitted
content [nfc]: Make MathNode a sealed class
1 parent 0498916 commit 5e686f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/model/content.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ class CodeBlockSpanNode extends ContentNode {
341341
}
342342
}
343343

344-
abstract class MathNode extends ContentNode {
344+
sealed class MathNode extends ContentNode {
345345
const MathNode({
346346
super.debugHtmlNode,
347347
required this.texSource,

0 commit comments

Comments
 (0)