hasForeignKeyInUniqueSet property Null safety

bool hasForeignKeyInUniqueSet

Implementation

bool get hasForeignKeyInUniqueSet => columns
    .where((c) => c.isForeignKey)
    .any((c) => uniqueColumnSet?.contains(c.name) ?? false);