NSPasteboardWriting class interface

NSPasteboardWriting

Implementers

Constructors

NSPasteboardWriting.castFrom(ObjCObjectBase other)
Constructs a NSPasteboardWriting that points to the same underlying object as other.
NSPasteboardWriting.castFromPointer(Pointer<ObjCObject> other, {bool retain = false, bool release = false})
Constructs a NSPasteboardWriting that wraps the given raw object pointer.

Properties

hashCode → int
The hash code for this object.
no setterinherited
ref → ObjCObjectRef
finalinherited
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
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

$protocol → Protocol
Returns the objc.Protocol object for this protocol.
no setter
pasteboardPropertyListForType_ → ObjCProtocolMethod<ObjCObjectBase? Function(NSString aClassName)>
pasteboardPropertyListForType:
final
writableTypesForPasteboard_ → ObjCProtocolMethod<NSArray Function(NSPasteboard pasteboard)>
writableTypesForPasteboard:
final
writingOptionsForType_pasteboard_ → ObjCProtocolMethod<NSPasteboardWritingOptions Function(DartNSPasteboardType, NSPasteboard)>
writingOptionsForType:pasteboard:
final

Static Methods

addToBuilder(ObjCProtocolBuilder builder, {required NSArray writableTypesForPasteboard_(NSPasteboard pasteboard), NSPasteboardWritingOptions writingOptionsForType_pasteboard_(DartNSPasteboardType, NSPasteboard)?, required ObjCObjectBase? pasteboardPropertyListForType_(NSString aClassName), bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSPasteboardWriting protocol to an existing objc.ObjCProtocolBuilder.
conformsTo(ObjCObjectBase obj) → bool
Returns whether obj is an instance of NSPasteboardWriting.
implement({required NSArray writableTypesForPasteboard_(NSPasteboard pasteboard), NSPasteboardWritingOptions writingOptionsForType_pasteboard_(DartNSPasteboardType, NSPasteboard)?, required ObjCObjectBase? pasteboardPropertyListForType_(NSString aClassName), bool $keepIsolateAlive = true}) → NSPasteboardWriting
Builds an object that implements the NSPasteboardWriting protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly.