toValue method
Implementation
String toValue() {
switch (this) {
case Protocol.http:
return 'http';
case Protocol.https:
return 'https';
}
}
String toValue() {
switch (this) {
case Protocol.http:
return 'http';
case Protocol.https:
return 'https';
}
}