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

Constructors

UpdateConcept({required OkfConceptId id, Map<String, Object?> frontmatter = const {}, String? body})

Properties

body → String?
final
frontmatter → Map<String, Object?>
final
hashCode → int
The hash code for this object.
no setterinherited
id → OkfConceptId
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

changesContent(OkfDocument current) → bool
Whether this update changes the content of the concept as it stands (current): changesConceptContent of current and of current with this update's fields and body applied. KnowledgeWriter.prepare decides with this whether the write records generated, 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