DataDomeInterceptor constructor

DataDomeInterceptor(
  1. String dataDomeKey,
  2. Dio dio,
  3. BuildContext context
)

Implementation

DataDomeInterceptor(String dataDomeKey, Dio dio, BuildContext context) {
  this.dataDomeKey = dataDomeKey;
  this.dio = dio;
  this.context = context;
  this.onCaptchaDisplay = null;
  this.onCaptchaDismiss = null;
  payloadInitializer["context"] = context;
  payloadInitializer["dataDomeKey"] = dataDomeKey;
}