MModelFactoryResolver<M extends MBaseModel> typedef

MModelFactoryResolver<M extends MBaseModel> = MModelFactory<M>? Function(String type)

Given a string, returns a function that knows how to instantiate objects of that type

Implementation

typedef MModelFactoryResolver<M extends MBaseModel> = MModelFactory<M>? Function(String type);