ConfirmationTokensResourceMandateDataResourceCustomerAcceptanceResourceOnline.fromJson constructor

ConfirmationTokensResourceMandateDataResourceCustomerAcceptanceResourceOnline.fromJson(
  1. Object? json
)

Implementation

factory ConfirmationTokensResourceMandateDataResourceCustomerAcceptanceResourceOnline.fromJson(
    Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return ConfirmationTokensResourceMandateDataResourceCustomerAcceptanceResourceOnline(
    ipAddress:
        map['ip_address'] == null ? null : (map['ip_address'] as String),
    userAgent:
        map['user_agent'] == null ? null : (map['user_agent'] as String),
  );
}