Determines equality by serializing both values.
@override bool operator ==(other) { return other is SelfEncoder && const SelfEncoderEquality().equals(this, other); }