LokotroPayEnv class

Static facade exposing the active SDK configuration to internal call sites (HTTP client, interceptor, services). Reads from LokotroPay.instance — no environment files, no runtime mutation.

All getters throw StateError if LokotroPay.init has not been called.

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

apiBaseUrl String
Hardcoded backend base URL. Cannot be overridden by host apps.
no setter
cancelPaymentEndpoint String
no setter
debugMode bool
no setter
defaultHeaders Map<String, String>
no setter
environment String
Environment label, e.g. production, staging, sandbox.
no setter
fetchPaymentInfoEndpoint String
no setter
isDevelopment bool
no setter
isInitialized bool
Whether the SDK has been initialised via LokotroPay.init.
no setter
isProduction bool
no setter
logLevel String
Backwards-compat alias. The SDK no longer reads a runtime log level — verbose logs are gated by debugMode only.
no setter
paymentApiUrl String
no setter
paymentApiVersion String
no setter
processPaymentEndpoint String
no setter
timeoutDuration Duration
no setter
timeoutSeconds int
no setter
verifyPaymentEndpoint String
no setter