toEncodingType method

EncodingType toEncodingType()

Implementation

EncodingType toEncodingType() {
  switch (this) {
    case 'url':
      return EncodingType.url;
  }
  throw Exception('$this is not known in enum EncodingType');
}