Column class

Constructors

Column({required String postgresFormat, required String dbColName, required String camelColName, required List<String> enumValues, required bool isEnum, required bool jsonbToDynamic, dynamic hasDefaultValue, String? description, int? maxLength, bool isPrimaryKey = false, bool isSerialType = false, bool isInRequiredColumn = false, JsonbModelConfig? jsonbModelConfig})
Column.fromJson(String colName, Map<String, dynamic> json, List<String> parentTableRequiredFields, Map<String, List<String>> mapOfEnums, {bool jsonbToDynamic = false, String? schema, String? tableName, Map<String, JsonbModelConfig>? jsonbModels})
factory

Properties

camelColName → String
final
dartType → String
no setter
dbColName → String
final
description → String?
final
enumValues → List<String>
final
hasDefaultValue → dynamic
final
hashCode → int
The hash code for this object.
no setterinherited
isEnum → bool
final
isInRequiredColumn → bool
final
isNullable → bool
no setter
isPrimaryKey → bool
final
isRequired → bool
no setter
isRequiredInInsert → bool
no setter
isSerialType → bool
final
isTypedJsonb → bool
Returns true if this column is a JSONB with a custom typed model
no setter
jsonbModelConfig → JsonbModelConfig?
final
jsonbToDynamic → bool
final
maxLength → int?
final
postgresFormat → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited