Pageviews.fromJson constructor

Pageviews.fromJson(
  1. Map json_
)

Implementation

Pageviews.fromJson(core.Map json_)
    : this(
        blogId: json_.containsKey('blogId')
            ? json_['blogId'] as core.String
            : null,
        counts: json_.containsKey('counts')
            ? (json_['counts'] as core.List)
                .map((value) => PageviewsCounts.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
      );