addKeyword method

dynamic addKeyword(
  1. dynamic name,
  2. dynamic callback
)

Implementation

addKeyword(name, callback) {
  this.keywords.add(name);
  this.keywordsCallback[name] = callback;

  return this;
}