updateAssignationHistory method

void updateAssignationHistory(
  1. Map<String, dynamic> newAssign
)
override

Implementation

void updateAssignationHistory(Map<String, dynamic> newAssign) {
  if (this.assignationHistory == null) {
    this.assignationHistory = Map.fromEntries(newAssign.entries);
  } else {
    this.assignationHistory?.clear();
    this.assignationHistory?.addEntries(newAssign.entries);
  }
}