MockChannel<T> constructor

MockChannel<T>({
  1. required String id,
  2. required String sourceModule,
  3. required String targetModule,
  4. MockGenerator<T>? generator,
  5. int startMs = 0,
  6. int periodMs = 1000,
  7. int count = 10,
})

Implementation

MockChannel({
  required this.id,
  required this.sourceModule,
  required this.targetModule,
  this.generator,
  this.startMs = 0,
  this.periodMs = 1000,
  this.count = 10,
}) {
  generator = generator ?? _lookupInstance;
}