HttpTarget.fromJson constructor
HttpTarget.fromJson(
- Map json_
Implementation
HttpTarget.fromJson(core.Map json_)
: this(
headerOverrides: json_.containsKey('headerOverrides')
? (json_['headerOverrides'] as core.List)
.map((value) => HeaderOverride.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
httpMethod: json_.containsKey('httpMethod')
? json_['httpMethod'] as core.String
: null,
oauthToken: json_.containsKey('oauthToken')
? OAuthToken.fromJson(
json_['oauthToken'] as core.Map<core.String, core.dynamic>)
: null,
oidcToken: json_.containsKey('oidcToken')
? OidcToken.fromJson(
json_['oidcToken'] as core.Map<core.String, core.dynamic>)
: null,
uriOverride: json_.containsKey('uriOverride')
? UriOverride.fromJson(
json_['uriOverride'] as core.Map<core.String, core.dynamic>)
: null,
);