setRestrictionEnabled method
Specifies whether to enable restriction of HUAWEI Analytics.
The default value is false, which indicates that HUAWEI Analytics is
enabled by default.
Implementation
Future<void> setRestrictionEnabled(bool enabled) async {
await _channel.invokeMethod('setRestrictionEnabled', {'enabled': enabled});
}