toContentEncoding method
Implementation
ContentEncoding toContentEncoding() {
switch (this) {
case 'NONE':
return ContentEncoding.none;
case 'GZIP':
return ContentEncoding.gzip;
}
throw Exception('$this is not known in enum ContentEncoding');
}