factory TracingConfigResponse.fromJson(Map<String, dynamic> json) { return TracingConfigResponse( mode: (json['Mode'] as String?)?.toTracingMode(), ); }