UpdateSubscriptionOfferStateRequest.fromJson constructor

UpdateSubscriptionOfferStateRequest.fromJson(
  1. Map json_
)

Implementation

UpdateSubscriptionOfferStateRequest.fromJson(core.Map json_)
    : this(
        activateSubscriptionOfferRequest:
            json_.containsKey('activateSubscriptionOfferRequest')
                ? ActivateSubscriptionOfferRequest.fromJson(
                    json_['activateSubscriptionOfferRequest']
                        as core.Map<core.String, core.dynamic>)
                : null,
        deactivateSubscriptionOfferRequest:
            json_.containsKey('deactivateSubscriptionOfferRequest')
                ? DeactivateSubscriptionOfferRequest.fromJson(
                    json_['deactivateSubscriptionOfferRequest']
                        as core.Map<core.String, core.dynamic>)
                : null,
      );