toValue method
Implementation
String toValue() {
switch (this) {
case BGPStatus.up:
return 'up';
case BGPStatus.down:
return 'down';
case BGPStatus.unknown:
return 'unknown';
}
}
String toValue() {
switch (this) {
case BGPStatus.up:
return 'up';
case BGPStatus.down:
return 'down';
case BGPStatus.unknown:
return 'unknown';
}
}