setConstant method

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

Sets a local constant or cached property in this module.

Implementation

void setConstant(String key, dynamic value) {
  _constants[key] = value;
}