MysqlColumn constructor
MysqlColumn({})
Implementation
factory MysqlColumn({
$core.String? column,
$core.String? dataType,
$core.int? length,
$core.String? collation,
$core.bool? primaryKey,
$core.bool? nullable,
$core.int? ordinalPosition,
}) {
final $result = create();
if (column != null) {
$result.column = column;
}
if (dataType != null) {
$result.dataType = dataType;
}
if (length != null) {
$result.length = length;
}
if (collation != null) {
$result.collation = collation;
}
if (primaryKey != null) {
$result.primaryKey = primaryKey;
}
if (nullable != null) {
$result.nullable = nullable;
}
if (ordinalPosition != null) {
$result.ordinalPosition = ordinalPosition;
}
return $result;
}