WriteService constructor
WriteService(
- InfluxDBClient client, {
- WriteOptions? writeOptions,
Creates WriteApi with optional custom writeOptions
Implementation
WriteService(InfluxDBClient client, {WriteOptions? writeOptions})
: super(client) {
this.writeOptions = writeOptions ?? WriteOptions();
_writeBatch = _WriteBatch(this.writeOptions, this);
}