toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ConfigCapabilityType.antennaDownlink:
      return 'antenna-downlink';
    case ConfigCapabilityType.antennaDownlinkDemodDecode:
      return 'antenna-downlink-demod-decode';
    case ConfigCapabilityType.antennaUplink:
      return 'antenna-uplink';
    case ConfigCapabilityType.dataflowEndpoint:
      return 'dataflow-endpoint';
    case ConfigCapabilityType.tracking:
      return 'tracking';
    case ConfigCapabilityType.uplinkEcho:
      return 'uplink-echo';
  }
}