CommentReply.fromJson constructor

CommentReply.fromJson(
  1. Map json_
)

Implementation

CommentReply.fromJson(core.Map json_)
    : this(
        author: json_.containsKey('author')
            ? User.fromJson(
                json_['author'] as core.Map<core.String, core.dynamic>)
            : null,
        content: json_.containsKey('content')
            ? json_['content'] as core.String
            : null,
        createdDate: json_.containsKey('createdDate')
            ? core.DateTime.parse(json_['createdDate'] as core.String)
            : null,
        deleted: json_.containsKey('deleted')
            ? json_['deleted'] as core.bool
            : null,
        htmlContent: json_.containsKey('htmlContent')
            ? json_['htmlContent'] as core.String
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        modifiedDate: json_.containsKey('modifiedDate')
            ? core.DateTime.parse(json_['modifiedDate'] as core.String)
            : null,
        replyId: json_.containsKey('replyId')
            ? json_['replyId'] as core.String
            : null,
        verb: json_.containsKey('verb') ? json_['verb'] as core.String : null,
      );