DoxModel class

Constructors

DoxModel({String? table, String primaryKey = 'id', Type primaryKeyType = int, String? createdAt = 'created_at', String? updatedAt = 'updated_at', bool softDelete = false, bool timestamps = true})
const

Properties

createdAt → String?
column of the create time. null turns it off.
final
hashCode → int
The hash code for this object.
no setterinherited
primaryKey → String
final
primaryKeyType → Type
Dart type of the primary key, like String for a UUID key. The default is int.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
softDelete → bool
final
table → String?
final
timestamps → bool
false turns off both createdAt and updatedAt, like $timestamps = false in Laravel
final
updatedAt → String?
column of the last update time. null turns it off.
final

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