toValue method
Implementation
String toValue() {
switch (this) {
case GlobalNetworkState.pending:
return 'PENDING';
case GlobalNetworkState.available:
return 'AVAILABLE';
case GlobalNetworkState.deleting:
return 'DELETING';
case GlobalNetworkState.updating:
return 'UPDATING';
}
}