BookGlossary class
Constructors
-
BookGlossary(String filename, Map<
String, GlossaryItem> items) -
const
-
BookGlossary.fromItems(String file, Iterable<
({String? desc, String name})> items) -
factory
Properties
- filename → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
items
→ Map<
String, GlossaryItem> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
add(
GlossaryItem item) → void -
addByName(
String name, String desc) → void -
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
-
operator [](
String id) → GlossaryItem?