method property
The HTTP method to use when creating an HTTP request to your configured url.
Defaults to POST
. Valid values are POST
, PUT
and OPTIONS
.
BackgroundGeolocation.ready(Config(
url: 'http://my-server.com/locations',
method: 'PUT'
));
Implementation
String? method;