MessageV2 constructor

MessageV2({
  1. List<int>? headerBytes,
  2. Ciphertext? ciphertext,
})

Implementation

factory MessageV2({
  $core.List<$core.int>? headerBytes,
  $2.Ciphertext? ciphertext,
}) {
  final _result = create();
  if (headerBytes != null) {
    _result.headerBytes = headerBytes;
  }
  if (ciphertext != null) {
    _result.ciphertext = ciphertext;
  }
  return _result;
}