CommentAuthor.fromJson constructor

CommentAuthor.fromJson(
  1. Map json_
)

Implementation

CommentAuthor.fromJson(core.Map json_)
    : this(
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        image: json_.containsKey('image')
            ? CommentAuthorImage.fromJson(
                json_['image'] as core.Map<core.String, core.dynamic>)
            : null,
        url: json_.containsKey('url') ? json_['url'] as core.String : null,
      );