Blog.fromJson constructor

Blog.fromJson(
  1. Map json_
)

Implementation

Blog.fromJson(core.Map json_)
    : this(
        customMetaData: json_.containsKey('customMetaData')
            ? json_['customMetaData'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        locale: json_.containsKey('locale')
            ? BlogLocale.fromJson(
                json_['locale'] as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        pages: json_.containsKey('pages')
            ? BlogPages.fromJson(
                json_['pages'] as core.Map<core.String, core.dynamic>)
            : null,
        posts: json_.containsKey('posts')
            ? BlogPosts.fromJson(
                json_['posts'] as core.Map<core.String, core.dynamic>)
            : null,
        published: json_.containsKey('published')
            ? json_['published'] as core.String
            : null,
        selfLink: json_.containsKey('selfLink')
            ? json_['selfLink'] as core.String
            : null,
        status: json_.containsKey('status')
            ? json_['status'] as core.String
            : null,
        updated: json_.containsKey('updated')
            ? json_['updated'] as core.String
            : null,
        url: json_.containsKey('url') ? json_['url'] as core.String : null,
      );