queryFromLastPlayed method

Future<LastPlayedEntity?> queryFromLastPlayed(
  1. int entityKey
)

Used to query a specific song(entity) from last_played room.

Use checkIn to know if song exist on last_played room.

Parameters:

  • entityKey this is the key of the song that will be queried.

Return:

  • Will return a LastPlayedEntity or a Null value.

See too:

Implementation

Future<LastPlayedEntity?> queryFromLastPlayed(int entityKey) async {
  return _LastPlayedDao().queryFromLastPlayed(entityKey);
}