DigiaEndpoints class

Centralised URL resolver for all Digia SDK endpoints.

Call configure once at SDK init (before any network call). All endpoint getters then return the fully-qualified URL without needing a DigiaConfig.

Constructors

DigiaEndpoints()

Properties

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
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

campaignBundle → String
no setter
isInitialized → bool
no setter
isTestMode → bool
no setter
liveTestAck → String
no setter
liveTestConnect → String
no setter
liveTestEvent → String
Live-only colour for an in-flight test — a survey's answers, how a nudge was dismissed. Stored nowhere; relayed to the dashboard that started the test and dropped if nobody is watching.
no setter
recordComponents → String
no setter
recordPageCapture → String
no setter
session → String
no setter
submission → String
no setter
track → String
no setter

Static Methods

configure(DigiaConfig config) → void
resetForTest() → void
Resets all endpoint state. Use in tests only.
setTestRoot(String rootUrl, {required bool allowInRelease}) → void