SeriesSeries.fromJson constructor

SeriesSeries.fromJson(
  1. Map json_
)

Implementation

SeriesSeries.fromJson(core.Map json_)
    : this(
        bannerImageUrl: json_.containsKey('bannerImageUrl')
            ? json_['bannerImageUrl'] as core.String
            : null,
        eligibleForSubscription: json_.containsKey('eligibleForSubscription')
            ? json_['eligibleForSubscription'] as core.bool
            : null,
        imageUrl: json_.containsKey('imageUrl')
            ? json_['imageUrl'] as core.String
            : null,
        isComplete: json_.containsKey('isComplete')
            ? json_['isComplete'] as core.bool
            : null,
        seriesFormatType: json_.containsKey('seriesFormatType')
            ? json_['seriesFormatType'] as core.String
            : null,
        seriesId: json_.containsKey('seriesId')
            ? json_['seriesId'] as core.String
            : null,
        seriesSubscriptionReleaseInfo:
            json_.containsKey('seriesSubscriptionReleaseInfo')
                ? SeriesSeriesSeriesSubscriptionReleaseInfo.fromJson(
                    json_['seriesSubscriptionReleaseInfo']
                        as core.Map<core.String, core.dynamic>)
                : null,
        seriesType: json_.containsKey('seriesType')
            ? json_['seriesType'] as core.String
            : null,
        subscriptionId: json_.containsKey('subscriptionId')
            ? json_['subscriptionId'] as core.String
            : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
      );