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

hashCode int
The hash code for this object.
no setterinherited
name String
getter/setter pair
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
toPointer() Pointer<Void>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited