MysqlColumn constructor

MysqlColumn({
  1. String? column,
  2. String? dataType,
  3. int? length,
  4. String? collation,
  5. bool? primaryKey,
  6. bool? nullable,
  7. int? ordinalPosition,
})

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;
}