VmServiceFactory<T extends VmService> typedef

VmServiceFactory<T extends VmService> = T Function({DisposeHandler? disposeHandler, required Stream inStream, Log? log, Future? streamClosed, required void writeMessage(String message), String? wsUri})

Implementation

typedef VmServiceFactory<T extends VmService> = T Function({
  required Stream<dynamic> /*String|List<int>*/ inStream,
  required void Function(String message) writeMessage,
  Log? log,
  DisposeHandler? disposeHandler,
  Future? streamClosed,
  String? wsUri,
});