Pseudoterminal constructor

Pseudoterminal({
  1. Event<String>? onDidWrite,
  2. Event<TerminalDimensions?>? onDidOverrideDimensions,
  3. Event<Object>? onDidClose,
  4. Event<String>? onDidChangeName,
  5. void open([
    1. TerminalDimensions?
    ])?,
  6. void close()?,
  7. void handleInput(
    1. String
    )?,
  8. void setDimensions(
    1. TerminalDimensions
    )?,
})

Implementation

factory Pseudoterminal({
  _i3.Event<_i2.String>? onDidWrite,
  _i3.Event<_i3.TerminalDimensions?>? onDidOverrideDimensions,
  _i3.Event<_i2.Object>? onDidClose,
  _i3.Event<_i2.String>? onDidChangeName,
  void Function([_i3.TerminalDimensions?])? open,
  void Function()? close,
  void Function(_i2.String)? handleInput,
  void Function(_i3.TerminalDimensions)? setDimensions,
}) =>
    Pseudoterminal._(
      onDidWrite: onDidWrite ?? _i6.undefined,
      onDidOverrideDimensions: onDidOverrideDimensions ?? _i6.undefined,
      onDidClose: onDidClose ?? _i6.undefined,
      onDidChangeName: onDidChangeName ?? _i6.undefined,
      open: open == null ? null : _i5.allowInterop(open),
      close: close == null ? null : _i5.allowInterop(close),
      handleInput: handleInput == null ? null : _i5.allowInterop(handleInput),
      setDimensions:
          setDimensions == null ? null : _i5.allowInterop(setDimensions),
    );