DecimalPosSeparator.parse constructor
DecimalPosSeparator.parse(
- String char
Implementation
factory DecimalPosSeparator.parse(
String char,
) {
switch (char) {
case ',':
return comma;
case '.':
return dot;
}
throw FormatException(
"Invalid char. Valid characters: $values",
char,
);
}