registerType static method
void
registerType(
- Type classType,
- String classTypeCode,
- ConvertFunction? toJsonFunc,
- ConvertFunction? fromJsonFunc,
Registers a new type to the Jsonize conversion handling.
Implementation
static void registerType(Type classType, String classTypeCode,
ConvertFunction? toJsonFunc, ConvertFunction? fromJsonFunc) {
_register(classType, classTypeCode, toJsonFunc, fromJsonFunc);
}