toJson method

Map<String, dynamic> toJson()

Implementation

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