RudderConfig class

Configuration class for RudderStack SDK initialization.

RudderConfig manages all configuration settings for the RudderStack SDK, including data plane URLs, batch settings, logging levels, and platform-specific configurations for both mobile and web platforms.

Key configuration options:

  • dataPlaneUrl: API endpoint for sending events
  • flushQueueSize: Maximum number of events to batch before sending
  • logLevel: Level of logging for debugging
  • controlPlaneUrl: URL for downloading source configuration
  • mobileConfig: Mobile-specific configuration options
  • webConfig: Web-specific configuration options

Use RudderConfigBuilder to create instances of this class.

Properties

dataPlaneUrl String
Gets the data plane URL for sending events.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMapMobile() Map<String, dynamic>
Returns the configuration map formatted for mobile platforms.
toMapWeb() Map<String, dynamic>
Returns the configuration map formatted for web platforms.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited