Column class
Constructors
-
Column({required String postgresFormat, required String dbColName, required String camelColName, List<
String> enumValues = const [], dynamic hasDefaultValue, String? description, int? maxLength, bool isPrimaryKey = false, bool isSerialType = false, bool isInRequiredColumn = false}) -
Column.fromJson(String colName, Map<
String, dynamic> json, List<String> parentTableRequiredFields) -
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
- isInRequiredColumn → bool
-
final
- isPrimaryKey → bool
-
final
- isRequired → bool
-
no setter
- isRequiredInInsert → bool
-
no setter
- isSerialType → 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