FFPostgresField constructor
FFPostgresField({
- FFIdentifier? identifier,
- FFParameter? type,
- bool? isPrimaryKey,
- bool? hasDefault,
- bool? isRequired,
- String? description,
- String? postgresType,
- String? foreignKey,
Implementation
factory FFPostgresField({
FFIdentifier? identifier,
FFParameter? type,
$core.bool? isPrimaryKey,
$core.bool? hasDefault,
$core.bool? isRequired,
$core.String? description,
$core.String? postgresType,
$core.String? foreignKey,
}) {
final result = create();
if (identifier != null) result.identifier = identifier;
if (type != null) result.type = type;
if (isPrimaryKey != null) result.isPrimaryKey = isPrimaryKey;
if (hasDefault != null) result.hasDefault = hasDefault;
if (isRequired != null) result.isRequired = isRequired;
if (description != null) result.description = description;
if (postgresType != null) result.postgresType = postgresType;
if (foreignKey != null) result.foreignKey = foreignKey;
return result;
}