setLocationCollectionEnabled method

Future<void> setLocationCollectionEnabled(
  1. bool enabled
)

Collect from the device the latitude and longitude coordinated truncated to the hundredths decimal place. Collect only if your application already has the relevant end-user permissions. Does not collect if the target audience is children.

Disabled by default.

Implementation

Future<void> setLocationCollectionEnabled(bool enabled) {
  return casInternalBridge.channel
      .invokeMethod("setLocationCollectionEnabled", enabled);
}