stringToIntConvertor static method

int stringToIntConvertor(
  1. dynamic input
)

Implementation

static int stringToIntConvertor(input) {
  return input != null ? double.parse(input).toInt() : 0;
}