PageAuthor.fromJson constructor

PageAuthor.fromJson(
  1. Map json_
)

Implementation

PageAuthor.fromJson(core.Map json_)
    : this(
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        image: json_.containsKey('image')
            ? PageAuthorImage.fromJson(
                json_['image'] as core.Map<core.String, core.dynamic>)
            : null,
        url: json_.containsKey('url') ? json_['url'] as core.String : null,
      );