Environment.fromJson constructor
Environment.fromJson(
- Map json
Implementation
factory Environment.fromJson(Map json) {
final p = parseJson(json, consumeMap: true);
return Environment(
p.single('sdk', (v) => VersionConstraint.parse(v)), p.unconsumed);
}