setItem method

void setItem(
  1. String key,
  2. String value
)

Implementation

void setItem(String key, String value) =>
    js_util.callMethod(this, 'setItem', [key, value]);