ObjCProtocolMethod<T extends Function> class
A method in an ObjC protocol.
Do not try to construct this class directly. The recommended way of getting a method object is to use FFIgen to generate bindings for the protocol you want to implement. The generated bindings will include a ObjCProtocolMethod for each method of the protocol.
- Implementers
Constructors
-
ObjCProtocolMethod(Pointer<
ObjCProtocolImpl> _proto, Pointer<ObjCSelector> _sel, Pointer<Void> _trampoline, Pointer<Char> ? _signature, ObjCBlockBase _createBlock(T)) - Only for use by FFIgen bindings.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAvailable → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
implement(
ObjCProtocolBuilder builder, T? function) → void -
Implement this method on the protocol
builderusing a Dartfunction. -
implementWithBlock(
ObjCProtocolBuilder builder, ObjCBlockBase block) → void -
Implement this method on the protocol
builderusing an ObjCblock. -
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