toMap method

Map<String, dynamic>? toMap()

Implementation

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