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;
}