getAllIds property

List<int> getAllIds

Used to get all ids from a list of SongEntity.

Implementation

List<int> get getAllIds {
  List<int> tempKeyList = [];
  for (var entity in this) {
    tempKeyList.add(entity.id);
  }
  return tempKeyList;
}