toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (externalSubscription != null)
        'externalSubscription': externalSubscription!,
      if (externalTransactionToken != null)
        'externalTransactionToken': externalTransactionToken!,
      if (initialExternalTransactionId != null)
        'initialExternalTransactionId': initialExternalTransactionId!,
      if (migratedTransactionProgram != null)
        'migratedTransactionProgram': migratedTransactionProgram!,
      if (otherRecurringProduct != null)
        'otherRecurringProduct': otherRecurringProduct!,
    };