Command<T> constructor

Command<T>(
  1. EventBus busBinded, {
  2. List<String>? paths,
  3. int maxLen = 10,
})

maxLen is the call history length, at least 1.

Implementation

factory Command(EventBus busBinded, {List<String>? paths, int maxLen = 10}) {
  return CommandImpl(busBinded, paths: paths, maxLen: maxLen);
}