getGeolocation method
Implementation
Future<GeolocationResponse> getGeolocation({
int? homeMobileCountryCode,
int? homeMobileNetworkCode,
String? radioType,
String? carrier,
bool? considerIp,
List<CellTower> cellTowers = const [],
List<WifiAccessPoint> wifiAccessPoints = const [],
}) async {
final body = buildBody(
homeMobileCountryCode: homeMobileCountryCode,
homeMobileNetworkCode: homeMobileNetworkCode,
radioType: radioType,
carrier: carrier,
considerIp: considerIp,
cellTowers: cellTowers,
wifiAccessPoints: wifiAccessPoints,
);
return getGeolocationFromMap(body);
}