GruntChannel.create constructor
GruntChannel.create(
- GruntFactory<
Grunt> factory
Implementation
factory GruntChannel.create(GruntFactory factory) {
return GruntChannel(
boss: connectToSupervisor(factory),
grunt: factory.create(),
);
}