OperationsScopedList.fromJson constructor
- Map _json
Implementation
OperationsScopedList.fromJson(core.Map _json) {
if (_json.containsKey("operations")) {
operations = (_json["operations"] as core.List)
.map<Operation>((value) => new Operation.fromJson(value))
.toList();
}
if (_json.containsKey("warning")) {
warning = new OperationsScopedListWarning.fromJson(_json["warning"]);
}
}