ViewModelConverter<V extends ReduxViewModel> typedef

ViewModelConverter<V extends ReduxViewModel> = V Function(ReduxState state)

Creates a new view model instance from the given state object. This method should be used to narrow or filter the data present in state to the minimum required by the ViewModelWidgetBuilder the converter will be used with.

Implementation

typedef ViewModelConverter<V extends ReduxViewModel> = V Function(ReduxState state);