setData(key: string, data: any): void Set data from local storage.paramkey- The key to set data to.paramdata- The data to set.sincev2000.0groupData