SourceFallback class final

Configuration for source-based fallback when no prebuilt is available.

This separates source acquisition, preparation, and compilation into distinct stages:

  1. Acquire — resolve source from local, archive, or git
  2. Prepare — apply patches, run setup commands
  3. Build — compile the source into a native library

Constructors

SourceFallback({required List<SourceSpecification> sources, required SourceBuilder builder, List<SourcePreparation> preparation = const [], NetworkPolicy networkPolicy = NetworkPolicy.allowed})
const

Properties

builder → SourceBuilder
Compiles the resolved source into a native library.
final
hashCode → int
The hash code for this object.
no setterinherited
networkPolicy → NetworkPolicy
Network access policy for source resolution.
final
preparation → List<SourcePreparation>
Preparation steps applied after acquisition, before building.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sources → List<SourceSpecification>
Source specifications in priority order.
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