list property Null safety
override
The hub list. This is not a copy of the list so don't modify it.
Implementation
@override
HubList get list {
HubList list = [];
_hubs.forEach((key, value) {
list.add(value);
});
return list;
}
The hub list. This is not a copy of the list so don't modify it.
@override
HubList get list {
HubList list = [];
_hubs.forEach((key, value) {
list.add(value);
});
return list;
}