modelInitializer property

Map<Type, ModelDecoderFunction> modelInitializer
final

modelInitializer pass your type as a key to this map and the method that will return a value of your type converted from map. IMPORTANT! Your type (the key) MUST implement LSJsonEncodable example: { AuthData: AuthData.decode }

Implementation

final Map<Type, ModelDecoderFunction> modelInitializer;