toJson method

Map<String, dynamic> toJson()

Serializes this instance to a JSON-compatible map.

Used internally, not intended for direct use by consumers. The map structure may change without notice.

Implementation

Map<String, dynamic> toJson() {
  return super.toJsonWithOptions((final Set<dynamic> options) {
    int el1 = (options.first as HighlightOptions).id;
    for (final dynamic option in options.skip(1)) {
      el1 |= (option as HighlightOptions).id;
    }
    return el1;
  });
}