CallTrigger constructor

CallTrigger({
  1. required Component child,
  2. void responseTrigger(
    1. Message message
    )?,
  3. void requestTrigger(
    1. Request request
    )?,
  4. bool ensureResponded = false,
  5. bool ensureSent = false,
})

Implementation

CallTrigger(
    {required Component child,
    this.responseTrigger,
    this.requestTrigger,
    this.ensureResponded = false,
    this.ensureSent = false})
    : super(child);