getNetworkStatus function
Reads whether the library may use the network.
See mln_network_get_status in the
C API reference.
Implementation
NetworkStatus getNetworkStatus() => withNativeArena((arena) {
ensureAbiVersion();
final outStatus = arena<Uint32>();
_check(raw.mln_network_get_status(outStatus, nativeDiagnostic));
return NetworkStatus.fromRawValue(outStatus.value);
});