oldestFirst method

List oldestFirst([
  1. String key = 'id'
])

The oldestFirst methods allow you to easily order results by id and get first record. By default, the result will be ordered by the table's id column. Or, you may pass the column name that you wish to sort by:

Example:

oldestFirst(list)

Implementation

List<dynamic> oldestFirst([String key = 'id']) =>
    FxList.oldestFirst(this, key);