copyWith method
Returns a new state with the new objects integrated at the root, overriding or augmenting the existing objects.
Implementation
AFComponentState copyWith(List<Object> toIntegrate) {
return createWith(AFComponentState.integrate(models, toIntegrate));
}