like method

bool like(
  1. ColumnDefinition other
)

Implementation

bool like(ColumnDefinition other) {
  if (other.dartType != null &&
      dartType != null &&
      other.dartType != dartType) {
    return false;
  }

  return (other.isNullable == isNullable &&
      other.columnType.like(columnType) &&
      other.name == name &&
      other.columnDefault == columnDefault);
}