Protocol constructor Null safety

Protocol(
  1. {String? protocolName,
  2. int? major,
  3. int? minor}
)

Implementation

Protocol({
  this.protocolName,
  this.major,
  this.minor,
});