MsgPackExtension constructor Null safety

const MsgPackExtension(
  1. int type
)

Builds MsgPackExtension with the specified type code

Implementation

const MsgPackExtension(this.type) : assert(type > 0);