KeyStrokeHandler constructor

KeyStrokeHandler({
  1. int startTypingEventTimeout = 1,
  2. int startTypingResendInterval = 3,
  3. required Future<void> onStartTyping([
    1. String? parentId
    ]),
  4. required Future<void> onStopTyping([
    1. String? parentId
    ]),
})

Creates a new instance of KeyStrokeHandler.

Implementation

KeyStrokeHandler({
  this.startTypingEventTimeout = 1,
  this.startTypingResendInterval = 3,
  required this.onStartTyping,
  required this.onStopTyping,
});