TreasuryOutboundPaymentsResourceOutboundPaymentResourceEndUserDetails.fromJson constructor

TreasuryOutboundPaymentsResourceOutboundPaymentResourceEndUserDetails.fromJson(
  1. Object? json
)

Implementation

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