Observer$Builder class interface

Constructors

Observer$Builder()

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
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
observeValueForKeyPath_ofObject_change_context_ ObjCProtocolListenableMethod<void Function(NSString, ObjCObject, NSDictionary, Pointer<Void>)>
observeValueForKeyPath:ofObject:change:context:
final

Static Methods

addToBuilder(ObjCProtocolBuilder builder, {required void observeValueForKeyPath_ofObject_change_context_(NSString, ObjCObject, NSDictionary, Pointer<Void>), bool $keepIsolateAlive = true}) → void
Adds the implementation of the Observer protocol to an existing objc.ObjCProtocolBuilder.
addToBuilderAsBlocking(ObjCProtocolBuilder builder, {required void observeValueForKeyPath_ofObject_change_context_(NSString, ObjCObject, NSDictionary, Pointer<Void>), bool $keepIsolateAlive = true}) → void
Adds the implementation of the Observer protocol to an existing objc.ObjCProtocolBuilder. All methods that can be implemented as blocking listeners will be.
addToBuilderAsListener(ObjCProtocolBuilder builder, {required void observeValueForKeyPath_ofObject_change_context_(NSString, ObjCObject, NSDictionary, Pointer<Void>), bool $keepIsolateAlive = true}) → void
Adds the implementation of the Observer protocol to an existing objc.ObjCProtocolBuilder. All methods that can be implemented as listeners will be.
implement({required void observeValueForKeyPath_ofObject_change_context_(NSString, ObjCObject, NSDictionary, Pointer<Void>), bool $keepIsolateAlive = true}) Observer
Builds an object that implements the Observer protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly.
implementAsBlocking({required void observeValueForKeyPath_ofObject_change_context_(NSString, ObjCObject, NSDictionary, Pointer<Void>), bool $keepIsolateAlive = true}) Observer
Builds an object that implements the Observer protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All methods that can be implemented as blocking listeners will be.
implementAsListener({required void observeValueForKeyPath_ofObject_change_context_(NSString, ObjCObject, NSDictionary, Pointer<Void>), bool $keepIsolateAlive = true}) Observer
Builds an object that implements the Observer protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All methods that can be implemented as listeners will be.