ProtocolVersion constructor

ProtocolVersion({
  1. int? firstDigit,
  2. int? secondDigit,
  3. int? thirdDigit,
})

Implementation

factory ProtocolVersion({
  $core.int? firstDigit,
  $core.int? secondDigit,
  $core.int? thirdDigit,
}) {
  final $result = create();
  if (firstDigit != null) {
    $result.firstDigit = firstDigit;
  }
  if (secondDigit != null) {
    $result.secondDigit = secondDigit;
  }
  if (thirdDigit != null) {
    $result.thirdDigit = thirdDigit;
  }
  return $result;
}