registerDeserializer<T> static method
Registers a deserializer for a specific type. Needed for dynamically deserializing objects. NOTE: This function is called by generated code in the target Flutter app. You should not call this function directly in your code.
Implementation
static void registerDeserializer<T>(T Function(Map<String, dynamic>) fromMap) {
deserializers[T] = fromMap;
}