copyWith method

AFComponentState copyWith(
  1. List<Object> toIntegrate
)
inherited

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));
}