toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "_elementId": _elementId,
      "title": title,
      "templates": templates.map((e) => e.toJson()).toList(),
    };