toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['data'] = this.data;
data['height'] = this.height;
data['id'] = this.id;
data['name'] = this.name;
data['opacity'] = this.opacity;
data['type'] = this.type;
data['visible'] = this.visible;
data['width'] = this.width;
data['x'] = this.x;
data['y'] = this.y;
return data;
}