defaultFactory static method

VmService defaultFactory({
  1. required Stream inStream,
  2. required void writeMessage(
    1. String message
    ),
  3. Log? log,
  4. DisposeHandler? disposeHandler,
  5. Future? streamClosed,
  6. String? wsUri,
})

Implementation

static VmService defaultFactory({
  required Stream<dynamic> /*String|List<int>*/ inStream,
  required void Function(String message) writeMessage,
  Log? log,
  DisposeHandler? disposeHandler,
  Future? streamClosed,
  String? wsUri,
}) {
  return VmService(
    inStream,
    writeMessage,
    log: log,
    disposeHandler: disposeHandler,
    streamClosed: streamClosed,
    wsUri: wsUri,
  );
}