toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (billingMethod != null) 'billingMethod': billingMethod!,
      if (creationTime != null) 'creationTime': creationTime!,
      if (customerDomain != null) 'customerDomain': customerDomain!,
      if (customerId != null) 'customerId': customerId!,
      if (dealCode != null) 'dealCode': dealCode!,
      if (kind != null) 'kind': kind!,
      if (plan != null) 'plan': plan!,
      if (purchaseOrderId != null) 'purchaseOrderId': purchaseOrderId!,
      if (renewalSettings != null) 'renewalSettings': renewalSettings!,
      if (resourceUiUrl != null) 'resourceUiUrl': resourceUiUrl!,
      if (seats != null) 'seats': seats!,
      if (skuId != null) 'skuId': skuId!,
      if (skuName != null) 'skuName': skuName!,
      if (status != null) 'status': status!,
      if (subscriptionId != null) 'subscriptionId': subscriptionId!,
      if (suspensionReasons != null) 'suspensionReasons': suspensionReasons!,
      if (transferInfo != null) 'transferInfo': transferInfo!,
      if (trialSettings != null) 'trialSettings': trialSettings!,
    };