Http constructor

Http({
  1. Iterable<HttpRule>? rules,
  2. bool? fullyDecodeReservedExpansion,
})

Implementation

factory Http({
  $core.Iterable<HttpRule>? rules,
  $core.bool? fullyDecodeReservedExpansion,
}) {
  final _result = create();
  if (rules != null) {
    _result.rules.addAll(rules);
  }
  if (fullyDecodeReservedExpansion != null) {
    _result.fullyDecodeReservedExpansion = fullyDecodeReservedExpansion;
  }
  return _result;
}