From a2a0378d46b9ef7d44682bb21dd80fd5ca60f2b5 Mon Sep 17 00:00:00 2001 From: Ellet Date: Tue, 14 Nov 2023 03:09:22 +0300 Subject: [PATCH] Make DocChange constant --- lib/src/models/structs/doc_change.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/src/models/structs/doc_change.dart b/lib/src/models/structs/doc_change.dart index d2772a59..33e398ec 100644 --- a/lib/src/models/structs/doc_change.dart +++ b/lib/src/models/structs/doc_change.dart @@ -1,8 +1,11 @@ +import 'package:meta/meta.dart' show immutable; + import '../documents/document.dart'; import '../quill_delta.dart'; +@immutable class DocChange { - DocChange( + const DocChange( this.before, this.change, this.source,