setEventConnectionWithToken method

  1. @override
Future<void> setEventConnectionWithToken(
  1. String token,
  2. String host, [
  3. List<SslPin>? ssPins
])
override

Implementation

@override
Future<void> setEventConnectionWithToken(String token, String host,
    [List<SslPin>? ssPins]) {
  return methodChannel.invokeMethod(
    'setEventConnectionWithToken',
    {
      'token': token,
      'host': host,
      'pins': ssPins?.map(_sslPinToMap).toList(growable: false),
    },
  );
}