columnsToRemove property Null safety

List<SchemaColumn?> columnsToRemove

Implementation

List<SchemaColumn?> get columnsToRemove {
  return _differingColumns
      .where(
          (diff) => diff.expectedColumn != null && diff.actualColumn == null)
      .map((diff) => diff.expectedColumn)
      .toList();
}