discontinuedPackage electricsql has been discontinued.

ElectricConfig class

Constructors

ElectricConfig({AuthConfig? auth, String? url, LoggerConfig? logger, Duration? timeout, ConnectionBackoffOptions? connectionBackoffOptions})

Properties

auth → AuthConfig?
Optional authentication configuration. If not provided, a client ID is generated.
final
connectionBackoffOptions → ConnectionBackoffOptions?
Optional backoff options for connecting with Electric
final
hashCode → int
The hash code for this object.
no setterinherited
logger → LoggerConfig?
Optional logger configuration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeout → Duration?
Timeout for RPC requests. Needs to be large enough for the server to have time to deliver the full initial subscription data when the client subscribes to a shape for the first time.
final
url → String?
Optional URL string to connect to the Electric sync service.
final

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