FileDataEndPoint constructor

FileDataEndPoint({
  1. String dataFormat = NameSpace.CARP,
  2. int bufferSize = 500 * 1000,
  3. bool zip = true,
  4. bool encrypt = false,
  5. 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.dataFormat = NameSpace.CARP,
  this.bufferSize = 500 * 1000,
  this.zip = true,
  this.encrypt = false,
  this.publicKey,
}) : super(type: DataEndPointTypes.FILE);