CvModelBuilderFunction<T extends Object> typedef

CvModelBuilderFunction<T extends Object> = T Function(Map contextData)

A model builder function should only build the model but should not fill it with the data.

data is for context to eventually decide to instantiate a different sub class.

Implementation

typedef CvModelBuilderFunction<T extends Object> = T Function(Map contextData);