enableGeolocatorWithHttpInfo method
Enable Geolocator modules
Enable Geolocator modules.
Note: This method returns the HTTP Response.
Parameters:
-
List<String> requestBody (required):
-
String uuidToken: Used for remote connections to device
Implementation
Future<Response> enableGeolocatorWithHttpInfo(
List<String> requestBody, {
String? uuidToken,
}) async {
// ignore: prefer_const_declarations
final path = uuidToken != null
? '${LbSetupEnvironment.getApiEndpoint(iotUuid: uuidToken)}/network/geolocator/enable'
: '/network/geolocator/enable';
// ignore: prefer_final_locals
Object? postBody = requestBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}