toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case PidMode.host:
      return 'host';
    case PidMode.task:
      return 'task';
  }
}