FileDataEndPoint constructor

FileDataEndPoint({
  1. String type = DataEndPointTypes.FILE,
  2. String dataFormat = NameSpace.CARP,
  3. int bufferSize = 500 * 1000,
  4. bool zip = true,
  5. bool encrypt = false,
  6. String? publicKey,
})

Creates a FileDataEndPoint.

type is defined in DataEndPointTypes. Is typically of type DataEndPointType.FILE but specialized file types can be specified.

Implementation

FileDataEndPoint({
  super.type = DataEndPointTypes.FILE,
  super.dataFormat = NameSpace.CARP,
  this.bufferSize = 500 * 1000,
  this.zip = true,
  this.encrypt = false,
  this.publicKey,
});