GoogleMapsGeolocation class

Constructors

GoogleMapsGeolocation({String? apiKey, String? baseUrl, Client? httpClient, Map<String, String>? apiHeaders})

Properties

apiHeaders Map<String, String>?
no setterinherited
apiKey String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
httpClient → Client
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url Uri
no setterinherited

Methods

buildBody({int? homeMobileCountryCode, int? homeMobileNetworkCode, String? radioType, String? carrier, bool? considerIp, List<CellTower> cellTowers = const [], List<WifiAccessPoint> wifiAccessPoints = const []}) Map<String, dynamic>
buildQuery(Map<String, dynamic> params) String
inherited
buildUrl() String
currentGeolocation() Future<GeolocationResponse>
dispose() → void
inherited
doGet(String url, {Map<String, String>? headers}) Future<Response>
inherited
doPost(String url, String body, {Map<String, String>? headers}) Future<Response>
inherited
getGeolocation({int? homeMobileCountryCode, int? homeMobileNetworkCode, String? radioType, String? carrier, bool? considerIp, List<CellTower> cellTowers = const [], List<WifiAccessPoint> wifiAccessPoints = const []}) Future<GeolocationResponse>
getGeolocationFromMap(Map<String, dynamic> params) Future<GeolocationResponse>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited