SwiftPmInfo class

Data model for the readiness snapshot contract (schemaVersion 1), shared between the board (site) and the CLI (flutter_ready), so the two can't disagree (SPEC §2). Kept as a plain, dependency-free parser of the JSON shape documented in 10xs/workflow/instructions/20260927_05_architect-notes-e2-e6.md.

Constructors

SwiftPmInfo({required bool? tag, required bool? archive, required bool? agrees, required String? checkedPackage, bool? nativeIos, String? reason})
const
SwiftPmInfo.fromJson(Map<String, dynamic> json)
factory

Properties

agrees → bool?
final
archive → bool?
final
checkedPackage → String?
final
hashCode → int
The hash code for this object.
no setterinherited
nativeIos → bool?
Null for snapshots taken before this field existed (additive, schemaVersion stays 1) — grading treats that the same as true. False means the resolved package ships no native iOS code at all.
final
reason → String?
Set only when nativeIos is false: not-ios-plugin (the app-facing pubspec declares no ios/macos platform at all) or no-native-ios-code (the platform is declared but is Dart-only). Null for snapshots taken before this field existed, or when nativeIos isn't false.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tag → bool?
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