ip method

Future<IpStackResponse> ip(
  1. String ipAddress
)

Implementation

Future<IpStackResponse> ip(String ipAddress) async {
  assert(ipAddress != null, "Ip must not be null");
  final resp =
      await http.get("$baseUrl/$ipAddress?access_key=$apiKey&format=1");
  return fromResponse(resp);
}