Return the WidgetState for the given widgetID if it exists.
(widgetId: string)
| 158 | |
| 159 | /** Return the WidgetState for the given widgetID if it exists. */ |
| 160 | public getState(widgetId: string): WidgetState | undefined { |
| 161 | return this.widgetStates.get(widgetId) |
| 162 | } |
| 163 | |
| 164 | /** Remove the WidgetState proto with the given id, if it exists. */ |
| 165 | public deleteState(widgetId: string): void { |
no test coverage detected