ConfirmationTokenMandateData.fromJson constructor

ConfirmationTokenMandateData.fromJson(
  1. Object? json
)

Implementation

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