InstanceConfig constructor

InstanceConfig({
  1. required String id,
  2. required String modelName,
  3. required double threshold,
  4. required int bufferCnt,
  5. bool sticky = false,
})

Constructs an InstanceConfig with id, modelName, threshold, bufferCnt, and sticky.

Implementation

InstanceConfig({
  required this.id,
  required this.modelName,
  required this.threshold,
  required this.bufferCnt,
  this.sticky = false,
});