toJson method
Implementation
@override
Object toJson() => {
if (enabled.isNotDefault) 'enabled': enabled,
if (samplingRate.isNotDefault) 'samplingRate': encodeDouble(samplingRate),
if (bigqueryDestination != null)
'bigqueryDestination': bigqueryDestination!.toJson(),
if (requestResponseLoggingSchemaVersion.isNotDefault)
'requestResponseLoggingSchemaVersion':
requestResponseLoggingSchemaVersion,
if (enableOtelLogging.isNotDefault) 'enableOtelLogging': enableOtelLogging,
};