offline method Null safety

LDConfigBuilder offline(
  1. bool offline
)

Disables or enables network calls from the LaunchDarkly client.

Defaults to false (network calls enabled), set to true to disable network calls.

Can also be configured at runtime using LDClient.setOnline.

Implementation

LDConfigBuilder offline(bool offline) {
  this._offline = offline;
  return this;
}