set method

void set(
  1. String key,
  2. dynamic value
)

add or set a new node to the model

Implementation

void set(String key, dynamic value) {
  fields[key] = value;
}