AFUpdateAppStateAction.updateOne constructor

AFUpdateAppStateAction.updateOne(
  1. Type area,
  2. Object o
)

Constructor for updating one object at the root of the AFComponentState

Implementation

factory AFUpdateAppStateAction.updateOne(Type area, Object o) {
  final toIntegrate = [o];
  return AFUpdateAppStateAction(
    area: area,
    toIntegrate: toIntegrate
  );
}