encode<V> static method
V
encode<V>(
- TreasuryOutboundPaymentsResourceOutboundPaymentResourceEndUserDetails instance,
- Encoder<
V> encoder
Implementation
static V encode<V>(
TreasuryOutboundPaymentsResourceOutboundPaymentResourceEndUserDetails
instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.ipAddress != null) {
container.encodeString(
'ip_address',
instance.ipAddress!,
);
}
container.encodeBool(
'present',
instance.present,
);
return container.value;
}