NSSpellServerDelegate class interface

NSSpellServerDelegate

Constructors

NSSpellServerDelegate.castFrom(ObjCObjectBase other)
Constructs a NSSpellServerDelegate that points to the same underlying object as other.
NSSpellServerDelegate.castFromPointer(Pointer<ObjCObject> other, {bool retain = false, bool release = false})
Constructs a NSSpellServerDelegate that wraps the given raw object pointer.

Properties

hashCode → int
The hash code for this object.
no setterinherited
ref → ObjCObjectRef
finalinherited
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

$protocol → Protocol
Returns the objc.Protocol object for this protocol.
no setter
spellServer_checkGrammarInString_language_details_ → ObjCProtocolMethod<NSRange Function(NSSpellServer, NSString, NSString?, Pointer<Pointer<ObjCObject>>)>
spellServer:checkGrammarInString:language:details:
final
spellServer_checkString_offset_types_options_orthography_wordCount_ → ObjCProtocolMethod<NSArray? Function(NSSpellServer, NSString, DartNSUInteger, DartNSTextCheckingTypes, NSDictionary?, NSOrthography?, Pointer<NSInteger>)>
spellServer:checkString:offset:types:options:orthography:wordCount:
final
spellServer_didForgetWord_inLanguage_ → ObjCProtocolListenableMethod<void Function(NSSpellServer, NSString, NSString)>
spellServer:didForgetWord:inLanguage:
final
spellServer_didLearnWord_inLanguage_ → ObjCProtocolListenableMethod<void Function(NSSpellServer, NSString, NSString)>
spellServer:didLearnWord:inLanguage:
final
spellServer_findMisspelledWordInString_language_wordCount_countOnly_ → ObjCProtocolMethod<NSRange Function(NSSpellServer, NSString, NSString, Pointer<NSInteger>, bool)>
spellServer:findMisspelledWordInString:language:wordCount:countOnly:
final
spellServer_recordResponse_toCorrection_forWord_language_ → ObjCProtocolListenableMethod<void Function(NSSpellServer, DartNSUInteger, NSString, NSString, NSString)>
spellServer:recordResponse:toCorrection:forWord:language:
final
spellServer_suggestCompletionsForPartialWordRange_inString_language_ → ObjCProtocolMethod<NSArray? Function(NSSpellServer, NSRange, NSString, NSString)>
spellServer:suggestCompletionsForPartialWordRange:inString:language:
final
spellServer_suggestGuessesForWord_inLanguage_ → ObjCProtocolMethod<NSArray? Function(NSSpellServer, NSString, NSString)>
spellServer:suggestGuessesForWord:inLanguage:
final

Static Methods

addToBuilder(ObjCProtocolBuilder builder, {NSRange spellServer_findMisspelledWordInString_language_wordCount_countOnly_(NSSpellServer, NSString, NSString, Pointer<NSInteger>, bool)?, NSArray? spellServer_suggestGuessesForWord_inLanguage_(NSSpellServer, NSString, NSString)?, void spellServer_didLearnWord_inLanguage_(NSSpellServer, NSString, NSString)?, void spellServer_didForgetWord_inLanguage_(NSSpellServer, NSString, NSString)?, NSArray? spellServer_suggestCompletionsForPartialWordRange_inString_language_(NSSpellServer, NSRange, NSString, NSString)?, NSRange spellServer_checkGrammarInString_language_details_(NSSpellServer, NSString, NSString?, Pointer<Pointer<ObjCObject>>)?, NSArray? spellServer_checkString_offset_types_options_orthography_wordCount_(NSSpellServer, NSString, DartNSUInteger, DartNSTextCheckingTypes, NSDictionary?, NSOrthography?, Pointer<NSInteger>)?, void spellServer_recordResponse_toCorrection_forWord_language_(NSSpellServer, DartNSUInteger, NSString, NSString, NSString)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSSpellServerDelegate protocol to an existing objc.ObjCProtocolBuilder.
addToBuilderAsBlocking(ObjCProtocolBuilder builder, {NSRange spellServer_findMisspelledWordInString_language_wordCount_countOnly_(NSSpellServer, NSString, NSString, Pointer<NSInteger>, bool)?, NSArray? spellServer_suggestGuessesForWord_inLanguage_(NSSpellServer, NSString, NSString)?, void spellServer_didLearnWord_inLanguage_(NSSpellServer, NSString, NSString)?, void spellServer_didForgetWord_inLanguage_(NSSpellServer, NSString, NSString)?, NSArray? spellServer_suggestCompletionsForPartialWordRange_inString_language_(NSSpellServer, NSRange, NSString, NSString)?, NSRange spellServer_checkGrammarInString_language_details_(NSSpellServer, NSString, NSString?, Pointer<Pointer<ObjCObject>>)?, NSArray? spellServer_checkString_offset_types_options_orthography_wordCount_(NSSpellServer, NSString, DartNSUInteger, DartNSTextCheckingTypes, NSDictionary?, NSOrthography?, Pointer<NSInteger>)?, void spellServer_recordResponse_toCorrection_forWord_language_(NSSpellServer, DartNSUInteger, NSString, NSString, NSString)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSSpellServerDelegate protocol to an existing objc.ObjCProtocolBuilder. All methods that can be implemented as blocking listeners will be.
addToBuilderAsListener(ObjCProtocolBuilder builder, {NSRange spellServer_findMisspelledWordInString_language_wordCount_countOnly_(NSSpellServer, NSString, NSString, Pointer<NSInteger>, bool)?, NSArray? spellServer_suggestGuessesForWord_inLanguage_(NSSpellServer, NSString, NSString)?, void spellServer_didLearnWord_inLanguage_(NSSpellServer, NSString, NSString)?, void spellServer_didForgetWord_inLanguage_(NSSpellServer, NSString, NSString)?, NSArray? spellServer_suggestCompletionsForPartialWordRange_inString_language_(NSSpellServer, NSRange, NSString, NSString)?, NSRange spellServer_checkGrammarInString_language_details_(NSSpellServer, NSString, NSString?, Pointer<Pointer<ObjCObject>>)?, NSArray? spellServer_checkString_offset_types_options_orthography_wordCount_(NSSpellServer, NSString, DartNSUInteger, DartNSTextCheckingTypes, NSDictionary?, NSOrthography?, Pointer<NSInteger>)?, void spellServer_recordResponse_toCorrection_forWord_language_(NSSpellServer, DartNSUInteger, NSString, NSString, NSString)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSSpellServerDelegate protocol to an existing objc.ObjCProtocolBuilder. All methods that can be implemented as listeners will be.
conformsTo(ObjCObjectBase obj) → bool
Returns whether obj is an instance of NSSpellServerDelegate.
implement({NSRange spellServer_findMisspelledWordInString_language_wordCount_countOnly_(NSSpellServer, NSString, NSString, Pointer<NSInteger>, bool)?, NSArray? spellServer_suggestGuessesForWord_inLanguage_(NSSpellServer, NSString, NSString)?, void spellServer_didLearnWord_inLanguage_(NSSpellServer, NSString, NSString)?, void spellServer_didForgetWord_inLanguage_(NSSpellServer, NSString, NSString)?, NSArray? spellServer_suggestCompletionsForPartialWordRange_inString_language_(NSSpellServer, NSRange, NSString, NSString)?, NSRange spellServer_checkGrammarInString_language_details_(NSSpellServer, NSString, NSString?, Pointer<Pointer<ObjCObject>>)?, NSArray? spellServer_checkString_offset_types_options_orthography_wordCount_(NSSpellServer, NSString, DartNSUInteger, DartNSTextCheckingTypes, NSDictionary?, NSOrthography?, Pointer<NSInteger>)?, void spellServer_recordResponse_toCorrection_forWord_language_(NSSpellServer, DartNSUInteger, NSString, NSString, NSString)?, bool $keepIsolateAlive = true}) → NSSpellServerDelegate
Builds an object that implements the NSSpellServerDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly.
implementAsBlocking({NSRange spellServer_findMisspelledWordInString_language_wordCount_countOnly_(NSSpellServer, NSString, NSString, Pointer<NSInteger>, bool)?, NSArray? spellServer_suggestGuessesForWord_inLanguage_(NSSpellServer, NSString, NSString)?, void spellServer_didLearnWord_inLanguage_(NSSpellServer, NSString, NSString)?, void spellServer_didForgetWord_inLanguage_(NSSpellServer, NSString, NSString)?, NSArray? spellServer_suggestCompletionsForPartialWordRange_inString_language_(NSSpellServer, NSRange, NSString, NSString)?, NSRange spellServer_checkGrammarInString_language_details_(NSSpellServer, NSString, NSString?, Pointer<Pointer<ObjCObject>>)?, NSArray? spellServer_checkString_offset_types_options_orthography_wordCount_(NSSpellServer, NSString, DartNSUInteger, DartNSTextCheckingTypes, NSDictionary?, NSOrthography?, Pointer<NSInteger>)?, void spellServer_recordResponse_toCorrection_forWord_language_(NSSpellServer, DartNSUInteger, NSString, NSString, NSString)?, bool $keepIsolateAlive = true}) → NSSpellServerDelegate
Builds an object that implements the NSSpellServerDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All methods that can be implemented as blocking listeners will be.
implementAsListener({NSRange spellServer_findMisspelledWordInString_language_wordCount_countOnly_(NSSpellServer, NSString, NSString, Pointer<NSInteger>, bool)?, NSArray? spellServer_suggestGuessesForWord_inLanguage_(NSSpellServer, NSString, NSString)?, void spellServer_didLearnWord_inLanguage_(NSSpellServer, NSString, NSString)?, void spellServer_didForgetWord_inLanguage_(NSSpellServer, NSString, NSString)?, NSArray? spellServer_suggestCompletionsForPartialWordRange_inString_language_(NSSpellServer, NSRange, NSString, NSString)?, NSRange spellServer_checkGrammarInString_language_details_(NSSpellServer, NSString, NSString?, Pointer<Pointer<ObjCObject>>)?, NSArray? spellServer_checkString_offset_types_options_orthography_wordCount_(NSSpellServer, NSString, DartNSUInteger, DartNSTextCheckingTypes, NSDictionary?, NSOrthography?, Pointer<NSInteger>)?, void spellServer_recordResponse_toCorrection_forWord_language_(NSSpellServer, DartNSUInteger, NSString, NSString, NSString)?, bool $keepIsolateAlive = true}) → NSSpellServerDelegate
Builds an object that implements the NSSpellServerDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All methods that can be implemented as listeners will be.