GlossaryTerm class

One glossary entry: a canonical English term, a meaning blurb, and translations keyed by locale.

Constructors

GlossaryTerm({required String term, required String meaning, required Map<String, String> translations})

Properties

hashCode int
The hash code for this object.
no setterinherited
meaning String
Human-readable meaning. Not consumed by any check rule; the glossary check passes it along in the issue hint so the user sees the same disambiguation an AI would.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
term String
Canonical source-locale form, e.g. "Book". Used for the whole-word match against source ARB values.
final
translations Map<String, String>
Canonical translation per locale.
final

Methods

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