toValue method
Implementation
String toValue() {
switch (this) {
case DiscovererState.started:
return 'STARTED';
case DiscovererState.stopped:
return 'STOPPED';
}
}
String toValue() {
switch (this) {
case DiscovererState.started:
return 'STARTED';
case DiscovererState.stopped:
return 'STOPPED';
}
}