encode<V> static method

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

Implementation

static V encode<V>(
  SettingsHeadOffice instance,
  Encoder<V> encoder,
) {
  final container = encoder.container<String>();
  AccountSupportAddress.encode(
    instance.address,
    container.nestedSingleValueContainer('address').encoder,
  );
  return container.value;
}