Page.fromJson constructor
Page.fromJson(
- Map json_
Implementation
Page.fromJson(core.Map json_)
: this(
author: json_.containsKey('author')
? PageAuthor.fromJson(
json_['author'] as core.Map<core.String, core.dynamic>)
: null,
blog: json_.containsKey('blog')
? PageBlog.fromJson(
json_['blog'] as core.Map<core.String, core.dynamic>)
: null,
content: json_.containsKey('content')
? json_['content'] as core.String
: null,
etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : 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,
title:
json_.containsKey('title') ? json_['title'] as core.String : null,
trashed: json_.containsKey('trashed')
? json_['trashed'] as core.String
: null,
updated: json_.containsKey('updated')
? json_['updated'] as core.String
: null,
url: json_.containsKey('url') ? json_['url'] as core.String : null,
);