setPersistentAttrsHandler static method

  1. @Deprecated('Use addAttrsHandler instead and note than `is_premium` attribute is automatically added by ds_purchase')
void setPersistentAttrsHandler(
  1. DSMetricaAttrsCallback handler
)

Calculate attributes to send it in every reportEvent

Implementation

@Deprecated('Use addAttrsHandler instead and note than `is_premium` attribute is automatically added by ds_purchase')
/// Calculate attributes to send it in every [reportEvent]
static void setPersistentAttrsHandler(DSMetricaAttrsCallback handler) {
  _attrsHandlerOld = handler;
}