UpdateConcept class final
Changes the concept id. Each frontmatter entry replaces that key, and a null value removes it; keys it does not name stay as they are. body, when given, replaces the body.
An update with no field and no body changes nothing but what its stamp records, which is how a verification is written.
- Inheritance
-
- Object
- KnowledgeChange
- UpdateConcept
Constructors
-
UpdateConcept({required OkfConceptId id, Map<
String, Object?> frontmatter = const {}, String? body})
Properties
Methods
-
changesContent(
OkfDocument current) → bool -
Whether this update changes the content of the concept as it stands
(
current): changesConceptContent ofcurrentand ofcurrentwith this update's fields and body applied.KnowledgeWriter.preparedecides with this whether the write recordsgenerated, on the concept as it reads it. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited