augmentStateViewModels<TStateView extends AFFlexibleStateView> method
void
augmentStateViewModels<
TStateView extends AFFlexibleStateView>( - List<Object?> result
)
Implementation
void augmentStateViewModels<TStateView extends AFFlexibleStateView>(List<Object?> result) {
final key = AFModelWithCustomID.stateKeyFor(TStateView);
final augmentors = stateViewAugmentors[key];
if(augmentors == null) {
return;
}
final context = AFStateViewAugmentationContext();
for(final augmentor in augmentors) {
augmentor(context, result);
}
}