encode<V> static method
Implementation
static V encode<V>(
ApplePayDomain instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
container.encodeDateTime(
'created',
instance.created,
);
container.encodeString(
'domain_name',
instance.domainName,
);
container.encodeString(
'id',
instance.id,
);
container.encodeBool(
'livemode',
instance.livemode,
);
container.encodeString(
'object',
'apple_pay_domain',
);
return container.value;
}