Path.fromStrings constructor
A path of the wire segment strings segments; empty strings are skipped.
Implementation
factory Path.fromStrings(List<String> segments) => Path.fromKeys(<ChildKey>[
for (final String piece in segments)
if (piece.isNotEmpty) ChildKey(piece),
]);