getOSVersionString method

String getOSVersionString(
  1. String version
)

Implementation

String getOSVersionString(String version) {
  var versionArray = getVersionArray(version);
  if (versionArray.length >= 2) {
    return generateOSVersionString([versionArray[0], versionArray[1]]);
  }
  return 'AA';
}