NativeWebSocketTransport.withJsonSerializer constructor

NativeWebSocketTransport.withJsonSerializer(
  1. String url, [
  2. Map<String, dynamic>? headers,
  3. bool allowInsecureCertificates = false,
  4. String? libraryPath,
  5. int? fragmentSize,
])

Implementation

factory NativeWebSocketTransport.withJsonSerializer(
  String url, [
  Map<String, dynamic>? headers,
  bool allowInsecureCertificates = false,
  String? libraryPath,
  int? fragmentSize,
]) => throw UnsupportedError('Native transports require dart:io.');