hasLocalNetworkPermission method

  1. @override
Future<bool> hasLocalNetworkPermission()
override

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;