envIndex property

int get envIndex

Implementation

int get envIndex => config?.index ?? 0;
set envIndex (int v)

设置当前选中的index

Implementation

set envIndex(int v) {
  _spf.setInt(KEY_SERVER_INDEX, v);
  _config = _loadConfig(v);
}