fromStyle static method
Returns the BoxBorderChars for the given style.
Implementation
static BoxBorderChars fromStyle(BoxBorderStyle style) {
switch (style) {
case BoxBorderStyle.single:
return single;
case BoxBorderStyle.double:
return double;
case BoxBorderStyle.rounded:
return rounded;
case BoxBorderStyle.heavy:
return heavy;
case BoxBorderStyle.ascii:
return ascii;
}
}