removeLineClass method

LineHandle removeLineClass(
  1. dynamic line,
  2. String where, [
  3. String? cssClass
])

Remove a CSS class from a line. line can be a LineHandle or number. where should be one of "text", "background", or "wrap" (see addLineClass). cssClass can be left off to remove all classes for the specified node, or be a string to remove only a specific class.

Implementation

LineHandle removeLineClass(dynamic line, String where, [String? cssClass]) {
  var l = line is LineHandle ? line.jsProxy : line;
  if (cssClass == null) {
    return LineHandle(callArgs('removeLineClass', [l, where]));
  } else {
    return LineHandle(callArgs('removeLineClass', [l, where, cssClass]));
  }
}