getVersion static method

int getVersion(
  1. String version
)

Implementation

static int getVersion(String version) {
  return int.parse(version.replaceAll('.', ''));
}