getAllKeys property
Used to get all keys
from a list of MostPlayedEntity.
Implementation
List<int> get getAllKeys {
List<int> tempKeyList = [];
for (var entity in this) {
tempKeyList.add(entity.key);
}
return tempKeyList;
}
Used to get all keys
from a list of MostPlayedEntity.
List<int> get getAllKeys {
List<int> tempKeyList = [];
for (var entity in this) {
tempKeyList.add(entity.key);
}
return tempKeyList;
}