toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final result = <String, dynamic>{};

  if (hashing != null) {
    result['hashing'] = hashing!.toJson();
  }
  if (autoCapturePII != null) {
    result['auto_capture_pii'] = autoCapturePII!.toJson();
  }
  if (cookieKeeper != null) {
    result['cookie_keeper'] = cookieKeeper!.toJson();
  }

  return result;
}