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) {
// ATCHG - Change class name from DDSdk to AtatusSdk
AtatusSdk.instance.internalLogger.sendToAtatus(
'Failed to deserialize AttachResponse: $e',
st,
null,
);
}
return null;
}