UpstreamPolicy.fromJson constructor
UpstreamPolicy.fromJson(
- Map json_
Implementation
UpstreamPolicy.fromJson(core.Map json_)
: this(
id: json_.containsKey('id') ? json_['id'] as core.String : null,
priority: json_.containsKey('priority')
? json_['priority'] as core.int
: null,
repository: json_.containsKey('repository')
? json_['repository'] as core.String
: null,
);