discontinuedPackage jet_cad_floor_plan has been discontinued and replaced by jet_cad_2d_plan.

SymbolLibrary class final

A validated set of SymbolEntrys, in definition-handle order.

Properties

categories → List<String>
Category names in first-appearance order over entries.
no setter
entries → List<SymbolEntry>
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

decode(Uint8List bytes) → SymbolLibrary
Decodes bytes (UTF-8 of the codec's JSON) and validates the result. Throws SymbolLibraryError on anything the spec's D5 names, on a document the codec itself repaired (a definition cycle it dropped an instance for) and on bytes the codec cannot read at all.
merge(List<(String, SymbolLibrary)> parts) → SymbolLibrary
Several libraries as one (spec 14 V-4): parts are (name, library) pairs, their entries concatenated in order, so categories keep their first appearance across them. A key@version present in two parts is a SymbolLibraryError naming both. One part is returned as it is.

Constants

maxCoordinate → const double
A coordinate beyond this (mm) is refused: no furniture is a kilometre wide, and a huge coordinate poisons every bound computed from it.