queryNetworkProps method

Future<NetworkStateData?> queryNetworkProps()

query network properties.

Implementation

Future<NetworkStateData?> queryNetworkProps() async {
  final Map? res = await service!.queryNetworkProps();
  if (res == null) {
    return null;
  }
  return NetworkStateData.fromJson(res as Map<String, dynamic>);
}