addFromString method

void addFromString(
  1. String string, [
  2. double? weight = 1.0
])

Implementation

void addFromString(String string, [double? weight = 1.0]) =>
    js_util.callMethod(this, 'addFromString', [string, weight]);