convertToDouble function

dynamic convertToDouble(
  1. String v
)

Implementation

dynamic convertToDouble(String v) {
  try {
    return double.parse(v);
  } on FormatException {
    return propConfig[v] ?? v;
  }
}