toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case TracingMode.active:
      return 'Active';
    case TracingMode.passThrough:
      return 'PassThrough';
  }
}