TreasuryOutboundPaymentEndUserDetails.fromJson constructor

TreasuryOutboundPaymentEndUserDetails.fromJson(
  1. Object? json
)

Implementation

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