Curl constructor
Curl({})
Constructs a new Curl object with the specified parameters.
The uri parameter is required, while the remaining parameters are optional.
Implementation
Curl({
required this.uri,
this.method = 'GET',
this.headers,
this.data,
this.cookie,
this.user,
this.referer,
this.userAgent,
this.form = false,
this.insecure = false,
this.location = false,
});