Converts the CRDT state to a map for serialization.
@override Map<String, dynamic> toMap() => { 'p': _p, 'n': _n, };