setEntry method

void setEntry(
  1. int code,
  2. String str
)

Implementation

void setEntry(int code, String str) {
  assert(_isValidKey(code));

  this.msgs[code] = str;
}