toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (bulletin != null) 'bulletin': bulletin!,
      if (channelItem != null) 'channelItem': channelItem!,
      if (comment != null) 'comment': comment!,
      if (favorite != null) 'favorite': favorite!,
      if (like != null) 'like': like!,
      if (playlistItem != null) 'playlistItem': playlistItem!,
      if (promotedItem != null) 'promotedItem': promotedItem!,
      if (recommendation != null) 'recommendation': recommendation!,
      if (social != null) 'social': social!,
      if (subscription != null) 'subscription': subscription!,
      if (upload != null) 'upload': upload!,
    };