ProtoHeaderExtensionParameters constructor

ProtoHeaderExtensionParameters({
  1. String? uri,
  2. int? id,
  3. bool? encrypt,
  4. Map<String, String>? parameters,
})

Implementation

factory ProtoHeaderExtensionParameters({
  $core.String? uri,
  $core.int? id,
  $core.bool? encrypt,
  $core.Map<$core.String, $core.String>? parameters,
}) {
  final $result = create();
  if (uri != null) {
    $result.uri = uri;
  }
  if (id != null) {
    $result.id = id;
  }
  if (encrypt != null) {
    $result.encrypt = encrypt;
  }
  if (parameters != null) {
    $result.parameters.addAll(parameters);
  }
  return $result;
}