ProtoDtlsParameters constructor

ProtoDtlsParameters({
  1. String? role,
  2. Iterable<ProtoDtlsFingerPrints>? fingerprints,
})

Implementation

factory ProtoDtlsParameters({
  $core.String? role,
  $core.Iterable<ProtoDtlsFingerPrints>? fingerprints,
}) {
  final $result = create();
  if (role != null) {
    $result.role = role;
  }
  if (fingerprints != null) {
    $result.fingerprints.addAll(fingerprints);
  }
  return $result;
}