mverse/mmodel_registry_mverse library

Functions

extractMverseType(Map<String, dynamic> map) String?

Typedefs

MModelFactory<M extends MBaseModel> = M Function(dynamic json)
Given json, produces an MBaseModel of that type
MModelFactoryResolver<M extends MBaseModel> = MModelFactory<M>? Function(String type)
Given a string, returns a function that knows how to instantiate objects of that type