toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (kind != null) 'kind': kind!,
      if (orderId != null) 'orderId': orderId!,
      if (purchaseTimeMillis != null)
        'purchaseTimeMillis': purchaseTimeMillis!,
      if (purchaseToken != null) 'purchaseToken': purchaseToken!,
      if (voidedQuantity != null) 'voidedQuantity': voidedQuantity!,
      if (voidedReason != null) 'voidedReason': voidedReason!,
      if (voidedSource != null) 'voidedSource': voidedSource!,
      if (voidedTimeMillis != null) 'voidedTimeMillis': voidedTimeMillis!,
    };