signatureAndVersion property Null safety

SignatureAndVersion signatureAndVersion

Override in children to indicate the signature of this class (used to recognize when reading a file which persister to initialize) and which version is written. The version should be increased if for example new fields get persisted. In that case, the reader must contain compatibility code for reading older versions.

signatureFromType can be used to generate a standard signature from the supportedType, but read the caveats in its documentation.

Implementation

SignatureAndVersion get signatureAndVersion;