archive static method

void archive()

Implementation

static void archive() {
  if (_lpid > 0) {
    final js = _p?.toJson();
    if (js != null) {
      // slog('archive to map');
      _protocols.add(js);
    }
    _lpid = -1;
    _p = null;
  }
}