FileSessionInputChannel constructor

FileSessionInputChannel({
  1. required FileMessagingRepository repository,
  2. String fromId = 'Fa.app user',
})

Creates the channel over the fabric at messagingRoot. fromId is the attribution the owner's transcript renders ([from $fromId] …) — the app sends as Fa.app user, a viewer CLI as fa CLI user.

Implementation

FileSessionInputChannel({
  required FileMessagingRepository repository,
  this.fromId = 'Fa.app user',
}) : _repository = repository;