operator []= method
Sets the value for the specified key in the model.
If the key already exists, its value is updated.
If the key does not exist, a new key-value pair is added to the model.
key The key for which the value is to be set.
value The value to be associated with the key.
Implementation
void operator []=(String key, dynamic value) {
set(key, value);
}