writeMode static method

void writeMode(
  1. AgentMode mode, {
  2. String? path,
  3. String? home,
})

Persists just the default mode, preserving other entries.

Implementation

static void writeMode(AgentMode mode, {String? path, String? home}) =>
    write(mode: mode, path: path, home: home);