CallMatcher constructor

CallMatcher({
  1. String? name,
  2. String? toHeader,
  3. String? fromHeader,
  4. String? callIdHeader,
  5. CallMatcher_CustomHeaders? customHeaders,
})

Implementation

factory CallMatcher({
  $core.String? name,
  $core.String? toHeader,
  $core.String? fromHeader,
  $core.String? callIdHeader,
  CallMatcher_CustomHeaders? customHeaders,
}) {
  final _result = create();
  if (name != null) {
    _result.name = name;
  }
  if (toHeader != null) {
    _result.toHeader = toHeader;
  }
  if (fromHeader != null) {
    _result.fromHeader = fromHeader;
  }
  if (callIdHeader != null) {
    _result.callIdHeader = callIdHeader;
  }
  if (customHeaders != null) {
    _result.customHeaders = customHeaders;
  }
  return _result;
}