ObslyConfig class
Configuración del SDK Obsly Una sola configuración que combina local y remote
Constructors
-
ObslyConfig({bool? enableScreenshotOnUi, List<
String> ? requestBlacklist, List<RequestBodyConfig> ? requestBodyWhitelist, List<RequestHeadersConfig> ? requestHeadersWhitelist, TagsBlacklistConfig? tagsBlacklist, RageClickConfig? rageClick, bool? enableCrashes, bool? enableLifeCycleLog, bool? enableRequestLog, bool? enableTagger, bool? enablePerformance, bool? enableMetrics, bool? enableUI, bool? automaticViewDetection, int? sessionMaxLengthMins, int? bufferSize, bool? captureConsole, bool? captureBodyOnError, int? messengerInterval, bool? enableDebugTools, bool? enableRules, ObslyTools? obslyTools, RateLimitsConfig? rateLimits}) -
const
-
ObslyConfig.fromMap(Map<
String, dynamic> map) -
Crea desde Map (para deserialización)
IMPORTANTE: Los valores null indican que el servidor no especificó ese parámetro
Esto permite que el merge mantenga la prioridad Remote > Local > Default
factory
-
ObslyConfig.withDefaults({bool? enableScreenshotOnUi, List<
String> ? requestBlacklist, List<RequestBodyConfig> ? requestBodyWhitelist, List<RequestHeadersConfig> ? requestHeadersWhitelist, TagsBlacklistConfig? tagsBlacklist, RageClickConfig? rageClick, bool? enableCrashes, bool? enableLifeCycleLog, bool? enableRequestLog, bool? enableTagger, bool? enablePerformance, bool? enableMetrics, bool? enableUI, bool? automaticViewDetection, int? sessionMaxLengthMins, int? bufferSize, bool? captureConsole, bool? captureBodyOnError, int? messengerInterval, bool? enableDebugTools, bool? enableRules, ObslyTools? obslyTools, RateLimitsConfig? rateLimits}) -
Creates a config with all default values applied
This ensures consistent defaults throughout the SDK
factory
Properties
- automaticViewDetection → bool?
-
Enable automatic view detection on navigation
final
- bufferSize → int?
-
final
- captureBodyOnError → bool?
-
final
- captureConsole → bool?
-
final
- enableCrashes → bool?
-
final
- enableDebugTools → bool?
-
final
- enableLifeCycleLog → bool?
-
final
- enableMetrics → bool?
-
final
- enablePerformance → bool?
-
final
- enableRequestLog → bool?
-
final
- enableRules → bool?
-
final
- enableScreenshotOnUi → bool?
-
final
- enableTagger → bool?
-
final
- enableUI → bool?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- messengerInterval → int?
-
final
- obslyTools → ObslyTools?
-
final
- rageClick → RageClickConfig?
-
final
- rateLimits → RateLimitsConfig?
-
final
-
requestBlacklist
→ List<
String> ? -
final
-
requestBodyWhitelist
→ List<
RequestBodyConfig> ? -
final
-
requestHeadersWhitelist
→ List<
RequestHeadersConfig> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionMaxLengthMins → int?
-
final
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> - Convierte a Map para serialización
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
) → ObslyConfig - Valida rangos numéricos y aplica restricciones
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited