toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "_elementId": _elementId,
      "titleVariants": titleVariants,
      "actions": actions.map((e) => e.toJson()).toList(),
      "onPresent": onPresent != null ? true : false,
    };