IpAddress constructor

IpAddress({
  1. RequestType type = RequestType.text,
})

The main ipAddress constructor which will be called to get the ipAddress.

type : An optional request type which will change the response type based on the type given by the user. Default value is RequestType.text.

Implementation

IpAddress({
  this.type = RequestType.text,
}) : super(requestType: type);