DeveloperConfig class
Developer configuration for debugging and development features.
DeveloperConfig provides configuration options specifically designed for development and debugging scenarios. This includes proxy settings, logging configuration, inspection tools, and custom backend URLs.
Key features:
- Proxy Support: Route traffic through debugging proxies
- Inspection Tools: Network request monitoring and debugging
- Custom Logging: Configurable logging for development insights
- Backend Override: Use custom backend URLs for testing
- Host Configuration: Custom hosting environment settings
The configuration is typically only used in debug builds and should not be included in production releases for security and performance reasons.
Example usage:
const developerConfig = DeveloperConfig(
proxyUrl: '192.168.1.100:8888', // Charles Proxy
inspector: MyCustomInspector(),
baseUrl: 'https://dev-api.digia.tech/api/v1',
host: DashboardHost(),
);
Constructors
- DeveloperConfig({String? proxyUrl, DigiaInspector? inspector, DigiaUIHost? host, String baseUrl = 'https://app.digia.tech/api/v1'})
-
Creates a new DeveloperConfig with optional debugging and development features.
const
Properties
- baseUrl → String
-
Base URL for Digia Studio backend API requests.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- host → DigiaUIHost?
-
Host configuration for custom deployment environments.
final
- inspector → DigiaInspector?
-
Inspector instance for capturing debug information and events.
final
- proxyUrl → String?
-
Proxy URL for routing HTTP traffic through debugging tools.
final
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited