toClientVersion method

ClientVersion toClientVersion()

Implementation

ClientVersion toClientVersion() {
  switch (this) {
    case '5.1':
      return ClientVersion.$5_1;
    case '5.3':
      return ClientVersion.$5_3;
  }
  throw Exception('$this is not known in enum ClientVersion');
}