PixaRuntimePlatformContract class final

Production platform contract expected from one Flutter target platform.

Constructors

PixaRuntimePlatformContract({required String platform, required List<String> targetAbis, required bool runtimeLibraryLoad, required bool symbolResolution, required bool threadedRuntime, required bool cacheDirectory, required bool networkPolicy})
Creates a platform contract.
const
PixaRuntimePlatformContract.forPlatform(TargetPlatform platform)
Returns the platform contract for a Flutter platform.
factory

Properties

cacheDirectory → bool
Cache files must live under the platform cache directory.
final
hashCode → int
The hash code for this object.
no setterinherited
networkPolicy → bool
Platform network policy must permit configured image transports.
final
platform → String
Flutter target platform label.
final
runtimeLibraryLoad → bool
runtime library must load on this platform.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
symbolResolution → bool
Runtime ABI symbols must resolve on this platform.
final
targetAbis → List<String>
ABI or architecture labels that must be covered by packaging.
final
threadedRuntime → bool
Rust/Tokio and processor work must run off the Flutter UI isolate.
final

Methods

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

Operators

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

Constants

android → const PixaRuntimePlatformContract
Android platform contract.
iOS → const PixaRuntimePlatformContract
iOS platform contract.
linux → const PixaRuntimePlatformContract
Linux platform contract.
macOS → const PixaRuntimePlatformContract
macOS platform contract.
supported → const List<PixaRuntimePlatformContract>
Supported platform contracts.
windows → const PixaRuntimePlatformContract
Windows platform contract.