OBPFrame.empty constructor

OBPFrame.empty({
  1. int version = VERSION,
  2. required OBPMessageType type,
  3. OBPFlags flags = OBPFlags.none,
  4. required int streamId,
})

Create frame with empty payload

Implementation

OBPFrame.empty({
  this.version = VERSION,
  required this.type,
  this.flags = OBPFlags.none,
  required this.streamId,
}) : payload = Uint8List(0);