We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d060020 commit 8bcebe3Copy full SHA for 8bcebe3
lib/shared/models/editor_document.dart
@@ -50,7 +50,7 @@ final class EditorDocumentMetadata with EditorDocumentMetadataMappable {
50
///
51
/// If any data field is **valid**, current metadata is not empty.
52
bool get isNotEmpty =>
53
- title != null && typeId != null && additionalOptions.isNotEmpty && price != null && perm != null;
+ title != null || typeId != null || additionalOptions.isNotEmpty || price != null || perm != null;
54
55
/// Document version.
56
final int version;
0 commit comments