ProtocolVersion constructor

ProtocolVersion({
  1. required uint16_t version,
  2. required uint16_t minVersion,
  3. required uint16_t maxVersion,
  4. required List<int8_t> specVersionHash,
  5. required List<int8_t> libraryVersionHash,
})

Implementation

ProtocolVersion({
  required this.version,
  required this.minVersion,
  required this.maxVersion,
  required this.specVersionHash,
  required this.libraryVersionHash,
});