setNetworkSessionEnabled method

void setNetworkSessionEnabled(
  1. bool enabled
)
override

Sets the enabled state of the network session

This is functional on iOS only

Implementation

void setNetworkSessionEnabled(bool enabled) {
  _methodChannel.invokeMethod('enableNetworkSession', enabled);
}