BrowserTokenizer class

Stub BrowserTokenizer for native (non-web) targets.

The real implementation lives in browser_tokenizer.dart and is selected via conditional import on targets where dart:js_interop is available. On all other targets this stub is used and throws UnsupportedError at construction time.

Implemented types

Constructors

BrowserTokenizer([String locale = ''])

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
tokenise(String text) List<String>
Segments text into word tokens.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited