RecurringExternalTransaction.fromJson constructor

RecurringExternalTransaction.fromJson(
  1. Map json_
)

Implementation

RecurringExternalTransaction.fromJson(core.Map json_)
    : this(
        externalSubscription: json_.containsKey('externalSubscription')
            ? ExternalSubscription.fromJson(json_['externalSubscription']
                as core.Map<core.String, core.dynamic>)
            : null,
        externalTransactionToken:
            json_.containsKey('externalTransactionToken')
                ? json_['externalTransactionToken'] as core.String
                : null,
        initialExternalTransactionId:
            json_.containsKey('initialExternalTransactionId')
                ? json_['initialExternalTransactionId'] as core.String
                : null,
        migratedTransactionProgram:
            json_.containsKey('migratedTransactionProgram')
                ? json_['migratedTransactionProgram'] as core.String
                : null,
        otherRecurringProduct: json_.containsKey('otherRecurringProduct')
            ? OtherRecurringProduct.fromJson(json_['otherRecurringProduct']
                as core.Map<core.String, core.dynamic>)
            : null,
      );