* Creates a theme * @param {string} [name] name of the theme * @param {'dark'|'light'} [type] type of the theme * @param {'free'|'paid'} [version] version of the theme
(name = "", type = "dark", version = "free")
| 45 | * @param {'free'|'paid'} [version] version of the theme |
| 46 | */ |
| 47 | constructor(name = "", type = "dark", version = "free") { |
| 48 | this.name = name; |
| 49 | this.type = type; |
| 50 | this.version = version; |
| 51 | } |
| 52 | |
| 53 | get id() { |
| 54 | return this.name.toLowerCase(); |
nothing calls this directly
no outgoing calls
no test coverage detected