OutputChannel constructor

OutputChannel({
  1. String? name,
  2. void append(
    1. String
    )?,
  3. void appendLine(
    1. String
    )?,
  4. void replace(
    1. String
    )?,
  5. void clear()?,
  6. void hide()?,
  7. void dispose()?,
})

Implementation

factory OutputChannel({
  _i2.String? name,
  void Function(_i2.String)? append,
  void Function(_i2.String)? appendLine,
  void Function(_i2.String)? replace,
  void Function()? clear,
  void Function()? hide,
  void Function()? dispose,
}) =>
    OutputChannel._(
      name: name,
      append: append == null ? null : _i5.allowInterop(append),
      appendLine: appendLine == null ? null : _i5.allowInterop(appendLine),
      replace: replace == null ? null : _i5.allowInterop(replace),
      clear: clear == null ? null : _i5.allowInterop(clear),
      hide: hide == null ? null : _i5.allowInterop(hide),
      dispose: dispose == null ? null : _i5.allowInterop(dispose),
    );