SDKInfo class

Model class for SDK information

Constructors

SDKInfo({required String flutterVersion, required String dartVersion, required String channel, required bool isQuicUI, String? branch, String? commitHash, String? versionTag, Map<String, String>? customProperties, DateTime? timestamp})
Constructor
SDKInfo.fromJson(Map<String, dynamic> json)
Create SDKInfo from a JSON map
factory

Properties

branch String?
Git branch (if available)
final
channel String
SDK channel (e.g., "stable", "user-branch", "dev")
final
commitHash String?
Git commit hash (if available)
final
customProperties Map<String, String>
Custom properties map
final
dartVersion String
Dart SDK version
final
flutterVersion String
Flutter SDK version
final
hashCode int
The hash code for this object.
no setteroverride
isQuicUI bool
Whether this is the QuicUI custom SDK
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sdkStatus String
Get display string for SDK status
no setter
timestamp DateTime
Timestamp when SDK info was collected
final
versionTag String?
Version tag (e.g., "v3.35.7-quicui-0.9.0")
final

Methods

isPreRelease() bool
Check if SDK is a pre-release version
isValid() bool
Check if SDK info is valid
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Convert SDKInfo to JSON map
toReport() String
Get a formatted report string
toShortString() String
Get short SDK description
toString() String
A string representation of this object.
override

Operators

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