NativeTargetPattern class final

A pattern that matches native build targets.

Used to look up recipes for specific platform/architecture combinations. All fields are optional; when null, they match any value.

Constructors

NativeTargetPattern({OS? os, Architecture? architecture, IOSSdk? iOSSdk})
const
NativeTargetPattern.fromJson(Map<String, dynamic> json)
factory

Properties

architecture Architecture?
If non-null, only matches targets with this architecture.
final
hashCode int
The hash code for this object.
no setterinherited
iOSSdk IOSSdk?
If non-null, only matches targets with this iOS SDK.
final
os OS?
The target OS (e.g., linux, android, ios). When null, matches any OS.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

matches(NativeTarget target) bool
Whether this pattern matches the given target.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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