Connectivity.fromConnectivityResult constructor

Connectivity.fromConnectivityResult(
  1. List<ConnectivityResult> result
)

Implementation

Connectivity.fromConnectivityResult(
    List<connectivity.ConnectivityResult> result)
    : super() {
  connectivityStatus = result
      .map((connectivity.ConnectivityResult e) => _parseConnectivityStatus(e))
      .toList();
}