Comment.fromJson constructor

Comment.fromJson(
  1. Map json_
)

Implementation

Comment.fromJson(core.Map json_)
    : this(
        author: json_.containsKey('author')
            ? CommentAuthor.fromJson(
                json_['author'] as core.Map<core.String, core.dynamic>)
            : null,
        blog: json_.containsKey('blog')
            ? CommentBlog.fromJson(
                json_['blog'] as core.Map<core.String, core.dynamic>)
            : null,
        content: json_.containsKey('content')
            ? json_['content'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        inReplyTo: json_.containsKey('inReplyTo')
            ? CommentInReplyTo.fromJson(
                json_['inReplyTo'] as core.Map<core.String, core.dynamic>)
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        post: json_.containsKey('post')
            ? CommentPost.fromJson(
                json_['post'] as core.Map<core.String, core.dynamic>)
            : null,
        published: json_.containsKey('published')
            ? json_['published'] as core.String
            : null,
        selfLink: json_.containsKey('selfLink')
            ? json_['selfLink'] as core.String
            : null,
        status: json_.containsKey('status')
            ? json_['status'] as core.String
            : null,
        updated: json_.containsKey('updated')
            ? json_['updated'] as core.String
            : null,
      );