canonicalDateTimeFormat property Null safety

bool canonicalDateTimeFormat

If set, any submitted field values representing dates are converted to the standard format.

Implementation

bool get canonicalDateTimeFormat => _canonicalDateTimeFormat;
void canonicalDateTimeFormat=(bool value)

Implementation

set canonicalDateTimeFormat(bool value) {
  if (_canonicalDateTimeFormat != value) {
    _canonicalDateTimeFormat = value;

    if (_canonicalDateTimeFormat) {
      _flags.add(PdfSubmitFormFlags.canonicalFormat);
    } else {
      _flags.remove(PdfSubmitFormFlags.canonicalFormat);
    }
  }
}