LookupRequest constructor

LookupRequest({
  1. required String osmIds,
  2. bool? addressDetails,
  3. bool? extraTags = true,
  4. bool? nameDetails = true,
  5. bool? polygonGeojson = true,
})

Constructor for creating a LookupRequest.

osmIds is a required parameter. Optional parameters include addressDetails, extraTags, nameDetails, and polygonGeojson.

Implementation

LookupRequest({
  required this.osmIds,
  this.addressDetails,
  this.extraTags = true,
  this.nameDetails = true,
  this.polygonGeojson = true,
});