GoogleExampleLibraryagentV1Book.fromJson constructor

GoogleExampleLibraryagentV1Book.fromJson(
  1. Map json_
)

Implementation

GoogleExampleLibraryagentV1Book.fromJson(core.Map json_)
    : this(
        author: json_.containsKey('author')
            ? json_['author'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        read: json_.containsKey('read') ? json_['read'] as core.bool : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
      );