toHttpScheme method
Implementation
HttpScheme toHttpScheme() {
switch (this) {
case 'http':
return HttpScheme.http;
case 'https':
return HttpScheme.https;
}
throw Exception('$this is not known in enum HttpScheme');
}
HttpScheme toHttpScheme() {
switch (this) {
case 'http':
return HttpScheme.http;
case 'https':
return HttpScheme.https;
}
throw Exception('$this is not known in enum HttpScheme');
}