Protocol class
Stands for Protocol
and @protocol
in iOS and macOS.
A class interface declares the methods and properties associated with that class. A protocol, by contrast, is used to declare methods and properties that are independent of any specific class.
Constructors
- Protocol(String protocolName)
-
factory
-
Protocol.fromPointer(Pointer<
Void> ptr) -
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toPointer(
) → Pointer< Void> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited