ServerEnv class

Properties

config ServerEnvConfig?
no setter
envIndex int
设置当前选中的index
getter/setter pair
envName String
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getEnvValue(String key) String?
取值
hasConfig() bool
init(List<String>? allEnvKeys, List<ServerEnvConfig>? allConfigs) Future<void>
mapHost(String standardHost) String?
映射线上域名到配置的域名
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setEnv(String k, String v) → void
设置到当前选中的配置中
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance ServerEnv
final

Constants

KEY_SERVER_ENV → const String
KEY_SERVER_INDEX → const String