Map<String, dynamic>? toMap() { return { 'content': delegate.content, 'shareType': delegate.shareType.index, 'subject': delegate.subject, 'targetAction': this.targetAction.toMap(), }.prune(); }