copyContext method
- CreatorFieldValues creatorFieldValues
Clone the CreatorFieldValues's contents into the model.
Implementation
void copyContext(CreatorFieldValues creatorFieldValues) {
/// Also need to update the generated media using the seeds.
for (MapEntry<Field, String> entry
in creatorFieldValues.textValues.entries) {
TextEditingController controller = getFieldController(entry.key);
controller.text = entry.value;
}
}