reviseN method

void reviseN(
  1. Map<AFWidgetID, String> values
)

Implementation

void reviseN(Map<AFWidgetID, String> values) {
  for(final wid in values.keys) {
    final value = values[wid];
    if(value == null) {
      continue;
    }
    var controller = controllers[wid];
    if(controller == null) {
      controller = AFTextEditingController.create(wid, value);
      controllers[wid] = controller;
    } else {
      controller.update(value);
    }
  }
}