ActivateSubscriptionOfferRequest.fromJson constructor

ActivateSubscriptionOfferRequest.fromJson(
  1. Map json_
)

Implementation

ActivateSubscriptionOfferRequest.fromJson(core.Map json_)
    : this(
        basePlanId: json_.containsKey('basePlanId')
            ? json_['basePlanId'] as core.String
            : null,
        latencyTolerance: json_.containsKey('latencyTolerance')
            ? json_['latencyTolerance'] as core.String
            : null,
        offerId: json_.containsKey('offerId')
            ? json_['offerId'] as core.String
            : null,
        packageName: json_.containsKey('packageName')
            ? json_['packageName'] as core.String
            : null,
        productId: json_.containsKey('productId')
            ? json_['productId'] as core.String
            : null,
      );