BackendRule constructor

BackendRule({
  1. String? selector,
  2. String? address,
  3. double? deadline,
  4. double? minDeadline,
  5. double? operationDeadline,
  6. BackendRule_PathTranslation? pathTranslation,
  7. String? jwtAudience,
  8. bool? disableAuth,
  9. String? protocol,
})

Implementation

factory BackendRule({
  $core.String? selector,
  $core.String? address,
  $core.double? deadline,
  $core.double? minDeadline,
  $core.double? operationDeadline,
  BackendRule_PathTranslation? pathTranslation,
  $core.String? jwtAudience,
  $core.bool? disableAuth,
  $core.String? protocol,
}) {
  final _result = create();
  if (selector != null) {
    _result.selector = selector;
  }
  if (address != null) {
    _result.address = address;
  }
  if (deadline != null) {
    _result.deadline = deadline;
  }
  if (minDeadline != null) {
    _result.minDeadline = minDeadline;
  }
  if (operationDeadline != null) {
    _result.operationDeadline = operationDeadline;
  }
  if (pathTranslation != null) {
    _result.pathTranslation = pathTranslation;
  }
  if (jwtAudience != null) {
    _result.jwtAudience = jwtAudience;
  }
  if (disableAuth != null) {
    _result.disableAuth = disableAuth;
  }
  if (protocol != null) {
    _result.protocol = protocol;
  }
  return _result;
}