isForeignKey property

bool get isForeignKey

Whether or not this column is a foreign key column.

Implementation

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