A base class for encodable and decodable objects.
Types that can read or write their values to a document should extend this abstract class. By overriding decode and encode, an instance of this type will read or write its values into a data container that can be transferred into formats like JSON or YAML.
dynamic other) → bool
The equality operator.