OffersItemsItems.fromJson constructor

OffersItemsItems.fromJson(
  1. Map json_
)

Implementation

OffersItemsItems.fromJson(core.Map json_)
    : this(
        author: json_.containsKey('author')
            ? json_['author'] as core.String
            : null,
        canonicalVolumeLink: json_.containsKey('canonicalVolumeLink')
            ? json_['canonicalVolumeLink'] as core.String
            : null,
        coverUrl: json_.containsKey('coverUrl')
            ? json_['coverUrl'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
        volumeId: json_.containsKey('volumeId')
            ? json_['volumeId'] as core.String
            : null,
      );