Server constructor

Server({
  1. Future<void>? finished,
  2. void ref()?,
  3. void unref()?,
})

Implementation

factory Server({
  _i2.Future<void>? finished,
  void Function()? ref,
  void Function()? unref,
}) =>
    Server._(
      finished: finished,
      ref: ref == null ? null : _i3.allowInterop(ref),
      unref: unref == null ? null : _i3.allowInterop(unref),
    );