id class

Stands for id in iOS and macOS.

Inheritance
Implemented types
Implementers

Constructors

id(Pointer<Void> _ptr)

Properties

debugDescription String
Returns a string that describes the contents of the receiver for presentation in the debugger.
no setteroverride
description String
Returns a string that describes the contents of the receiver.
no setteroverride
hash int
Returns an integer that can be used as a table address in a hash table structure.
no setteroverride
hashCode int
The hash code for this object.
no setteroverride
isa Class?
Stands for isa in iOS and macOS.
no setter
pointer Pointer<Void>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
superclass Class
NSObjectProtocol Returns the class object for the receiver’s superclass.
no setteroverride

Methods

conforms({required Protocol to}) bool
Returns a Boolean value that indicates whether the receiver conforms to a given protocol.
override
isEqual(NSObjectProtocol object) bool
Returns a Boolean value that indicates whether the receiver and a given object are equal.
override
isKind({required Class of}) bool
Returns a Boolean value that indicates whether the receiver is an instance of given class or an instance of any class that inherits from that class.
override
isMember({required Class of}) bool
Returns a Boolean value that indicates whether the receiver is an instance of a given class.
override
isProxy() bool
Returns a Boolean value that indicates whether the receiver does not descend from NSObject.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
perform(SEL selector, {List? args, DispatchQueue? onQueue}) Future
Sends a specified message to the receiver asynchronously using onQueue. onQueue is DispatchQueue.main by default.
performSync<T>(SEL selector, {List? args, bool decodeRetVal = true}) → T
Sends a specified message to the receiver and returns the result of the message.
override
responds({required SEL to}) bool
Returns a Boolean value that indicates whether the receiver implements or inherits a method that can respond to a specified message.
override
self() NSObjectProtocol
Returns the receiver.
override
toString() String
A string representation of this object.
override

Operators

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