libraryName top-level property

String get libraryName

Implementation

String get libraryName {
  if (Platform.isLinux) return "librdkafka.so";
  if (Platform.isMacOS) return "librdkafka.dylib";
  if (Platform.isWindows) return "librdkafka.dll";
  throw UnsupportedError("Franz library is not supported by this platform");
}