FakeEventBus constructor

FakeEventBus({
  1. int capacity = 10000,
})

Creates a bus keeping the last capacity events.

Implementation

FakeEventBus({this.capacity = 10000});