toggle method

bool toggle(
  1. String token, [
  2. bool? force
])

Implementation

bool toggle(String token, [bool? force]) =>
    js_util.callMethod(this, 'toggle', [token, force]);