BraintreePaymentMethodNonce.fromJson constructor

BraintreePaymentMethodNonce.fromJson(
  1. dynamic source
)

Implementation

factory BraintreePaymentMethodNonce.fromJson(dynamic source) {
  return BraintreePaymentMethodNonce(
    nonce: source['nonce'],
    typeLabel: source['typeLabel'],
    description: source['description'],
    isDefault: source['isDefault'],
    paypalPayerId: source['paypalPayerId'],
  );
}