setEventConnectionWithCredentials method

  1. @override
Future<void> setEventConnectionWithCredentials(
  1. String email,
  2. String password,
  3. String host, [
  4. List<SslPin>? ssPins,
])
override

Implementation

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