decode static method
Implementation
static AttachResponse? decode(Map<String, Object?> json) {
try {
return AttachResponse(
loggingEnabled: json['loggingEnabled'] as bool,
rumEnabled: json['rumEnabled'] as bool,
);
} catch (e, st) {
DatadogSdk.instance.internalLogger.sendToDatadog(
'Failed to deserialize AttachResponse: $e',
st,
null,
);
}
return null;
}