columnsToAdd property Null safety

List<SchemaColumn?> columnsToAdd

Implementation

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