ComCompanion<T extends ComInterface> class abstract com

Companion metadata for a specific COM interface type T.

A ComCompanion describes how to:

  • Construct a Dart interface wrapper from a raw COM vtable pointer
  • Identify the interface via its IID

Each COM interface type must have exactly one companion.

Companions are typically declared as const and contain no mutable state.

Constructors

ComCompanion()
const

Properties

fromPointer → T Function(VTablePointer ptr)
Constructs an instance of T from a raw COM vtable pointer.
no setter
hashCode → int
The hash code for this object.
no setterinherited
iid → GUID
The interface identifier (IID) for T.
no setter
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