hasLocalNetworkPermission method
Whether this app may access the local network (always true below API 37).
Implementation
@override
Future<bool> hasLocalNetworkPermission() async =>
await methodChannel.invokeMethod<bool>('hasLocalNetworkPermission') ??
false;