GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest.fromJson constructor

GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest.fromJson(
    core.Map json_)
    : this(
        cancelImmediately: json_.containsKey('cancelImmediately')
            ? json_['cancelImmediately'] as core.bool
            : null,
        cancellationReason: json_.containsKey('cancellationReason')
            ? json_['cancellationReason'] as core.String
            : null,
      );