isForeignKey property Null safety

bool isForeignKey

Whether or not this column is a foreign key column.

Implementation

bool get isForeignKey {
  return relatedTableName != null && relatedColumnName != null;
}