isNativeAvailable property

bool get isNativeAvailable

Whether the native FFI encoder is available on this platform.

Implementation

bool get isNativeAvailable {
  try {
    WalrusFfiBindings.instance();
    return true;
  } catch (_) {
    return false;
  }
}