toValue method
Implementation
String toValue() {
switch (this) {
case ConnectionStatus.connected:
return 'Connected';
case ConnectionStatus.notConnected:
return 'NotConnected';
}
}
String toValue() {
switch (this) {
case ConnectionStatus.connected:
return 'Connected';
case ConnectionStatus.notConnected:
return 'NotConnected';
}
}