NaturalLanguageBindings class
The platform APIs the apple_natural_language library talks to.
Replace instance in tests to run the Dart layer against fakes.
Constructors
- NaturalLanguageBindings({AppleNaturalLanguageHostApi? host, AppleNaturalLanguagePlatformApi? platform})
- Creates bindings, defaulting to the real platform channels.
Properties
-
finalizer
→ Finalizer<
int> -
Releases native handles whose Dart owners were garbage collected.
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- host → AppleNaturalLanguageHostApi
-
The Natural Language API.
final
- platform → AppleNaturalLanguagePlatformApi
-
The always-available platform API.
final
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ NaturalLanguageBindings
-
The bindings every object uses.
getter/setter pair