toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  "_elementId": _elementId,
  "layout": CPEnumUtils.stringFromEnum(layout.toString()),
  "title": title,
  "actions": actions.map((e) => e.toJson()).toList(),
  "informationItems": informationItems.map((e) => e.toJson()).toList(),
};