Element.fromParts constructor Null safety
Creates a Declaration from parts
, which must be of type Code
List<Code> or String.
When a List<Code> is encountered they are joined by a comma.
Implementation
factory Element.fromParts(List<Object> parts) =>
Element(_combineParts(parts));