patchValue method

void patchValue(
  1. Map<String, dynamic> val
)

Update fields values of form. Useful when need update all values at once, after init.

To load all values at once on init, use initialValue property

Implementation

void patchValue(Map<String, dynamic> val) {
  val.forEach((key, dynamic value) {
    _fields[key]?.didChange(value);
  });
}