CommentReplyList.fromJson constructor

CommentReplyList.fromJson(
  1. Map _json
)

Implementation

CommentReplyList.fromJson(core.Map _json) {
  if (_json.containsKey("items")) {
    items = (_json["items"] as core.List)
        .map<CommentReply>((value) => new CommentReply.fromJson(value))
        .toList();
  }
  if (_json.containsKey("kind")) {
    kind = _json["kind"];
  }
  if (_json.containsKey("nextLink")) {
    nextLink = _json["nextLink"];
  }
  if (_json.containsKey("nextPageToken")) {
    nextPageToken = _json["nextPageToken"];
  }
  if (_json.containsKey("selfLink")) {
    selfLink = _json["selfLink"];
  }
}