Terminal constructor

Terminal({
  1. String? name,
  2. Future? processId,
  3. dynamic creationOptions,
  4. TerminalExitStatus? exitStatus,
  5. TerminalState? state,
  6. void sendText(
    1. String, [
    2. bool?
    ])?,
  7. void show([
    1. bool?
    ])?,
  8. void hide()?,
  9. void dispose()?,
})

Implementation

factory Terminal({
  _i2.String? name,
  _i2.Future<_i2.dynamic>? processId,
  _i2.dynamic creationOptions,
  _i3.TerminalExitStatus? exitStatus,
  _i3.TerminalState? state,
  void Function(
    _i2.String, [
    _i2.bool?,
  ])? sendText,
  void Function([_i2.bool?])? show,
  void Function()? hide,
  void Function()? dispose,
}) =>
    Terminal._(
      name: name,
      processId: processId ?? _i6.undefined,
      creationOptions: creationOptions,
      exitStatus: exitStatus ?? _i6.undefined,
      state: state ?? _i6.undefined,
      sendText: sendText == null ? null : _i5.allowInterop(sendText),
      show: show == null ? null : _i5.allowInterop(show),
      hide: hide == null ? null : _i5.allowInterop(hide),
      dispose: dispose == null ? null : _i5.allowInterop(dispose),
    );