toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case InterconnectState.requested:
      return 'requested';
    case InterconnectState.pending:
      return 'pending';
    case InterconnectState.available:
      return 'available';
    case InterconnectState.down:
      return 'down';
    case InterconnectState.deleting:
      return 'deleting';
    case InterconnectState.deleted:
      return 'deleted';
    case InterconnectState.unknown:
      return 'unknown';
  }
}