A class decorator that registers a class for serialization with the runtime type system.
The class constructor to register
The decorator context
The original class constructor
@Serializableclass DataModel { ... } Copy
@Serializableclass DataModel { ... }
A class decorator that registers a class for serialization with the runtime type system.