PixaPlatformContract class final

Stable contract for a Flutter platform-channel backed plugin handler.

Constructors

PixaPlatformContract({required String channel, required Set<PixaHostPlatform> supportedPlatforms, int maxConcurrentCalls = 1, bool supportsCancellation = false, bool hotPathSafe = false, bool backgroundQueue = true, int? maxOutputBytes})
Creates a platform-channel contract.
const

Properties

backgroundQueue → bool
Whether native work runs off the platform UI thread where applicable.
final
channel → String
MethodChannel/EventChannel/Pigeon API namespace used by the plugin.
final
hashCode → int
The hash code for this object.
no setterinherited
hotPathSafe → bool
Whether this platform path has evidence for visible gallery hot paths.
final
maxConcurrentCalls → int
Maximum parallel calls Pixa may issue to this boundary.
final
maxOutputBytes → int?
Optional bounded output payload size for Dart/platform transfer.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
supportedPlatforms → Set<PixaHostPlatform>
Host platforms where this descriptor is implemented.
final
supportsCancellation → bool
Whether the platform implementation observes Pixa cancellation.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
JSON-like representation for diagnostics and debug panels.
toString() → String
A string representation of this object.
inherited

Operators

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