Add ‘name’s to widget location Json. (#14993)
This commit is contained in:
parent
9a9aed191d
commit
a3f520e488
@ -1101,6 +1101,9 @@ class _Location {
|
|||||||
'line': line,
|
'line': line,
|
||||||
'column': column,
|
'column': column,
|
||||||
};
|
};
|
||||||
|
if (name != null) {
|
||||||
|
json['name'] = name;
|
||||||
|
}
|
||||||
if (parameterLocations != null) {
|
if (parameterLocations != null) {
|
||||||
json['parameterLocations'] = parameterLocations.map<Map<String, Object>>(
|
json['parameterLocations'] = parameterLocations.map<Map<String, Object>>(
|
||||||
(_Location location) => location.toJsonMap()).toList();
|
(_Location location) => location.toJsonMap()).toList();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user