setField method

void setField(
  1. String name,
  2. Object? value
)

Implementation

void setField(String name, Object? value) {
  fields[name] = value;
}