getVersion static method

Version getVersion(
  1. VersionSize versionSize
)

Implementation

static Version getVersion(VersionSize versionSize) {
  switch (versionSize) {
    case VersionSize.small:
      return Version.getVersionForNumber(9);
    case VersionSize.medium:
      return Version.getVersionForNumber(26);
    case VersionSize.large:
    default:
      return Version.getVersionForNumber(40);
  }
}