toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'model': this.model,
      'name': this.name,
      'default_title': this.defaultTitle,
      'default_logo': this.defaultLogo,
      'default_width': this.defaultWidth,
      'default_height': this.defaultHeight,
      'elements': this.elements.map((v) => v.toJson()).toList(),
    };