encode<V> static method

V encode<V>(
  1. IssuingNetworkTokenAddress instance,
  2. Encoder<V> encoder
)

Implementation

static V encode<V>(
  IssuingNetworkTokenAddress instance,
  Encoder<V> encoder,
) {
  final container = encoder.container<String>();
  container.encodeString(
    'line1',
    instance.line1,
  );
  container.encodeString(
    'postal_code',
    instance.postalCode,
  );
  return container.value;
}