ProxyApi class

Metadata to annotate a Pigeon API that wraps a native class.

The abstract class with this annotation groups a collection of Dart↔host constructors, fields, methods and host↔Dart methods used to wrap a native class.

The generated Dart class acts as a proxy to a native type and maintains instances automatically with an InstanceManager. The generated host language class implements methods to interact with class instances or static methods.

Constructors

ProxyApi({Type? superClass})
Parametric constructor for ProxyApi.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
superClass Type?
The proxy api that is a super class to this one.
final

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