PiVersionsModel class
PiVersions model.
- Annotations
-
- @freezed
Constructors
- PiVersionsModel({@JsonKey(name: 'core_update') required bool hasCoreUpdate, @JsonKey(name: 'web_update') required bool hasWebUpdate, @JsonKey(name: 'FTL_update') required bool hasFtlUpdate, @JsonKey(name: 'core_current') required String currentCoreVersion, @JsonKey(name: 'web_current') required String currentWebVersion, @JsonKey(name: 'FTL_current') required String currentFtlVersion, @JsonKey(name: 'core_latest') required String latestCoreVersion, @JsonKey(name: 'web_latest') required String latestWebVersion, @JsonKey(name: 'FTL_latest') required String latestFtlVersion, @JsonKey(name: 'core_branch') required String coreBranch, @JsonKey(name: 'web_branch') required String webBranch, @JsonKey(name: 'FTL_branch') required String ftlBranch})
-
factory
-
PiVersionsModel.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
copyWith
→ $PiVersionsModelCopyWith<
PiVersionsModel> -
no setterinherited
- coreBranch → String
-
no setterinherited
- currentCoreVersion → String
-
no setterinherited
- currentFtlVersion → String
-
no setterinherited
- currentWebVersion → String
-
no setterinherited
- entity → PiVersions
-
latefinal
- ftlBranch → String
-
no setterinherited
- hasCoreUpdate → bool
-
no setterinherited
- hasFtlUpdate → bool
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasWebUpdate → bool
-
no setterinherited
- latestCoreVersion → String
-
no setterinherited
- latestFtlVersion → String
-
no setterinherited
- latestWebVersion → String
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- webBranch → String
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited