ClientItem class

Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

ClientItem({required String clientName, required String projectName, required String appName, required String apiUrl, required String version, required String password, String defaultLanguage = 'zh', String primaryColor = '#1677FF', String env = 'dev'})
const
ClientItem.fromJson(Map<String, dynamic> json)
factory

Properties

apiUrl String
接口地址
可变地址:可通过 CI 变量传入
final
appName String
应用名称
可以是中文、英文(大小写)
final
clientName String
客户名称
final
defaultLanguage String
默认语言
final
env String
环境
final
hashCode int
The hash code for this object.
no setterinherited
password String
命名空间 密钥密码
用于App证书签名的密码,全部使用该密码
final
primaryColor String
主题色
final
projectName String
项目名称
英文小写蛇形命名
签名证书的文件使用该命名
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version String
版本
final

Methods

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