toTracingMode method

TracingMode toTracingMode()

Implementation

TracingMode toTracingMode() {
  switch (this) {
    case 'Active':
      return TracingMode.active;
    case 'PassThrough':
      return TracingMode.passThrough;
  }
  throw Exception('$this is not known in enum TracingMode');
}