SubscriptionListing.fromJson constructor

SubscriptionListing.fromJson(
  1. Map json_
)

Implementation

SubscriptionListing.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,
        languageCode: json_.containsKey('languageCode')
            ? json_['languageCode'] as core.String
            : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
      );