toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      '_elementId': _elementId,
      'header': header,
      'items': items.map((e) => e.toJson()).toList(),
    };