toValue method

String toValue()

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';
  }
}