code: func (lst *LogStreamState) Save(withMeta bool) (ds.PropertyMap, error) {
  	lst.Schema = CurrentSchemaVersion
  
  	// Save default struct fields.
  	pmap, err := ds.GetPLS(lst).Save(withMeta)
  	if err != nil {
  		return nil, err
  	}
  
  	pmap["_Terminated"] = ds.MkProperty(lst.Terminated())
  	pmap[ArchivalStateKey] = ds.MkProperty(lst.ArchivalState())
  
  	return pmap, nil
  }
docs: // Save implements ds.PropertyLoadSaver.