Create a new ScreenshotItem from base64 data
(base64: string, capturedAt: number)
| 50 | |
| 51 | /** Create a new ScreenshotItem from base64 data */ |
| 52 | static create(base64: string, capturedAt: number): ScreenshotItem { |
| 53 | return new ScreenshotItem(uuid(), base64, capturedAt); |
| 54 | } |
| 55 | |
| 56 | get id(): string { |
| 57 | return this._id; |