InAppProductListing.fromJson constructor

InAppProductListing.fromJson(
  1. Map json_
)

Implementation

InAppProductListing.fromJson(core.Map json_)
    : this(
        benefits: json_.containsKey('benefits')
            ? (json_['benefits'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
      );