toValue method
Implementation
String toValue() {
switch (this) {
case LayerAvailability.available:
return 'AVAILABLE';
case LayerAvailability.unavailable:
return 'UNAVAILABLE';
}
}
String toValue() {
switch (this) {
case LayerAvailability.available:
return 'AVAILABLE';
case LayerAvailability.unavailable:
return 'UNAVAILABLE';
}
}