Decorator to mark a class as serializable using the Serialization class.
Parameters
id: string
The id to use when serializing the class. This is used to identify the class when deserializing. Class names can be mangled during minification, so it is required to provide an id.
Decorator to mark a class as serializable using the Serialization class.