setPropertyCollection method
Sets whether to collect system attributes.
Currently, this method applies only to the userAgent attribute.
Implementation
Future<void> setPropertyCollection(String property, bool enabled) async {
dynamic params = {
'property': property,
'enabled': enabled,
};
await _channel.invokeMethod('setPropertyCollection', params);
}