BitbucketServerConfig.fromJson constructor
BitbucketServerConfig.fromJson(
- Map json_
Implementation
BitbucketServerConfig.fromJson(core.Map json_)
: this(
apiKey: json_.containsKey('apiKey')
? json_['apiKey'] as core.String
: null,
connectedRepositories: json_.containsKey('connectedRepositories')
? (json_['connectedRepositories'] as core.List)
.map((value) => BitbucketServerRepositoryId.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
hostUri: json_.containsKey('hostUri')
? json_['hostUri'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
peeredNetwork: json_.containsKey('peeredNetwork')
? json_['peeredNetwork'] as core.String
: null,
peeredNetworkIpRange: json_.containsKey('peeredNetworkIpRange')
? json_['peeredNetworkIpRange'] as core.String
: null,
secrets: json_.containsKey('secrets')
? BitbucketServerSecrets.fromJson(
json_['secrets'] as core.Map<core.String, core.dynamic>)
: null,
sslCa:
json_.containsKey('sslCa') ? json_['sslCa'] as core.String : null,
username: json_.containsKey('username')
? json_['username'] as core.String
: null,
webhookKey: json_.containsKey('webhookKey')
? json_['webhookKey'] as core.String
: null,
);