exportFormData method

List<int> exportFormData({
  1. required DataFormat dataFormat,
})

Export the form data with the specified DataFormat and return the bytes as list of int.

dataFormat – required – Defines the constants that specify the format of exporting form data.

Implementation

List<int> exportFormData({required DataFormat dataFormat}) {
  _exportDataFormat = dataFormat;
  _notifyPropertyChangedListeners(property: 'exportFormData');
  return _exportedFormDataBytes;
}