toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (author != null) 'author': author!,
      if (blog != null) 'blog': blog!,
      if (content != null) 'content': content!,
      if (id != null) 'id': id!,
      if (inReplyTo != null) 'inReplyTo': inReplyTo!,
      if (kind != null) 'kind': kind!,
      if (post != null) 'post': post!,
      if (published != null) 'published': published!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (status != null) 'status': status!,
      if (updated != null) 'updated': updated!,
    };