renderDateField method
Render the field with the given name and date value to the buffer.
Implementation
void renderDateField(String name, DateTime? date, StringBuffer buffer) {
if (date == null) {
return;
}
renderField(name, DateCodec.encodeDate(date), buffer, quote: true);
}