toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'id': id,
      'membership': membership.toString().split('.').last,
      'highlight_count': highlightCount,
      'notification_count': notificationCount,
      'prev_batch': prev_batch,
      'summary': summary.toJson(),
    };