UsageRule constructor

UsageRule({
  1. String? selector,
  2. bool? allowUnregisteredCalls,
  3. bool? skipServiceControl,
})

Implementation

factory UsageRule({
  $core.String? selector,
  $core.bool? allowUnregisteredCalls,
  $core.bool? skipServiceControl,
}) {
  final _result = create();
  if (selector != null) {
    _result.selector = selector;
  }
  if (allowUnregisteredCalls != null) {
    _result.allowUnregisteredCalls = allowUnregisteredCalls;
  }
  if (skipServiceControl != null) {
    _result.skipServiceControl = skipServiceControl;
  }
  return _result;
}