GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload.fromJson constructor

GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload.fromJson(
  1. Map json_
)

Implementation

GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload.fromJson(
    core.Map json_)
    : this(
        accessEndTime: json_.containsKey('accessEndTime')
            ? json_['accessEndTime'] as core.String
            : null,
        partnerEligibilityIds: json_.containsKey('partnerEligibilityIds')
            ? (json_['partnerEligibilityIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        partnerPlanType: json_.containsKey('partnerPlanType')
            ? json_['partnerPlanType'] as core.String
            : null,
      );