VersionModel class

Model - 版本更新

Constructors

VersionModel({String? appLink, String? detail, int? updateState, String? version})
VersionModel.fromJson(Map<String, dynamic> json)

Properties

新版下载地址
getter/setter pair
detail String?
升级内容
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updateState int?
0、不更新;1、选择性更新;2、强制更新
getter/setter pair
version String?
新版本号
getter/setter pair

Methods

getVersion() String
isForceUpdate() bool
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.
override

Operators

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

Constants

updateStateChoice → const int
updateStateForce → const int
updateStateNone → const int