ConfirmationTokensResourceMandateData.fromJson constructor

ConfirmationTokensResourceMandateData.fromJson(
  1. Object? json
)

Implementation

factory ConfirmationTokensResourceMandateData.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return ConfirmationTokensResourceMandateData(
      customerAcceptance:
          ConfirmationTokensResourceMandateDataResourceCustomerAcceptance
              .fromJson(map['customer_acceptance']));
}