getOverallNetworkLevel method

Future<String> getOverallNetworkLevel()

Get the overall network status of the user in the session.
Return the overall network status of the user in the session.

Implementation

Future<String> getOverallNetworkLevel() async {
  var params = <String, dynamic>{};
  params.putIfAbsent("userId", () => userId);

  return await methodChannel
      .invokeMethod<String>('getOverallNetworkLevel', params)
      .then<String>((String? value) => value ?? "");
}