insertRule method

int insertRule(
  1. String rule, [
  2. int? index = 0
])

Implementation

int insertRule(String rule, [int? index = 0]) =>
    js_util.callMethod(this, 'insertRule', [rule, index]);