onWire property

bool get onWire

Whether the wire and the authored JSON carry this row.

A style and an args map do not: the wire already carries a style as its own fields and a node's arguments as their own map, and neither has a JSON spelling of its own. They are rows to be KEYS, not to be encoded.

Implementation

bool get onWire => kind != ScenePropKind.style && kind != ScenePropKind.args;