ObjCProtocolBuilder class
Helper class for building Objective C objects that implement protocols.
Constructors
- ObjCProtocolBuilder({String debugName = 'DOBJCDartProtocol'})
Properties
- builder → DartProtocolBuilder
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addProtocol(
Protocol protocol) → void -
Add the
protocolto this implementation. -
build(
{bool keepIsolateAlive = true}) → NSObject - Builds the object.
-
implementMethod(
Pointer< ObjCSelector> sel, Pointer<Char> signature, Pointer<Void> trampoline, ObjCBlockBase block) → void - Add a method implementation to the protocol.
-
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