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