GoogleExampleLibraryagentV1ListBooksResponse.fromJson constructor

GoogleExampleLibraryagentV1ListBooksResponse.fromJson(
  1. Map json_
)

Implementation

GoogleExampleLibraryagentV1ListBooksResponse.fromJson(core.Map json_)
    : this(
        books: json_.containsKey('books')
            ? (json_['books'] as core.List)
                .map((value) => GoogleExampleLibraryagentV1Book.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
      );