OffersItems.fromJson constructor

OffersItems.fromJson(
  1. Map json_
)

Implementation

OffersItems.fromJson(core.Map json_)
    : this(
        artUrl: json_.containsKey('artUrl')
            ? json_['artUrl'] as core.String
            : null,
        gservicesKey: json_.containsKey('gservicesKey')
            ? json_['gservicesKey'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        items: json_.containsKey('items')
            ? (json_['items'] as core.List)
                .map((value) => OffersItemsItems.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );