ConfirmationTokensResourceMandateDataResourceCustomerAcceptance.fromJson constructor

ConfirmationTokensResourceMandateDataResourceCustomerAcceptance.fromJson(
  1. Object? json
)

Implementation

factory ConfirmationTokensResourceMandateDataResourceCustomerAcceptance.fromJson(
    Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return ConfirmationTokensResourceMandateDataResourceCustomerAcceptance(
    online: map['online'] == null
        ? null
        : ConfirmationTokensResourceMandateDataResourceCustomerAcceptanceOnline
            .fromJson(map['online']),
    type: (map['type'] as String),
  );
}