Cursor constructor Null safety

Cursor(
  1. List<String> columnNames
)

Implementation

Cursor(this.columnNames)
    : _calculatedIndexes = {
        for (var column in columnNames)
          column: columnNames.lastIndexOf(column),
      };