BlogPosts.fromJson constructor

BlogPosts.fromJson(
  1. Map json_
)

Implementation

BlogPosts.fromJson(core.Map json_)
    : this(
        items: (json_['items'] as core.List?)
            ?.map((value) =>
                Post.fromJson(value as core.Map<core.String, core.dynamic>))
            .toList(),
        selfLink: json_['selfLink'] as core.String?,
        totalItems: json_['totalItems'] as core.int?,
      );