defaultSerializer property Null safety

ValueSerializer defaultSerializer
read / write

The ValueSerializer that will be used by default in DataClass.toJson.

Implementation

ValueSerializer defaultSerializer = const ValueSerializer.defaults();