lineTypeToString function
- LineType lineType
Converts a LineType to a string representation.
Implementation
String lineTypeToString(LineType lineType) {
switch (lineType) {
case LineType.solid:
return 'solid';
case LineType.dashed:
return 'dashed';
case LineType.dotted:
return 'dotted';
case LineType.dashDot:
return 'dashDot';
}
}