label.js.es6 120 Bytes EditWeb IDE 1 2 3 4 5 6 7 class Label { constructor (obj) { this.id = obj.id; this.title = obj.title; this.color = obj.color; } }