Serializer constructor

Serializer({
  1. DataWriter? dataWriter,
  2. ExtEncoder? extEncoder,
})

Implementation

Serializer({
  DataWriter? dataWriter,
  ExtEncoder? extEncoder,
})  : _writer = dataWriter ?? DataWriter(),
      _extEncoder = extEncoder;