CardsCompanion class

Inheritance

Constructors

CardsCompanion({Value<int> id = const Value.absent(), Value<int> userId = const Value.absent(), Value<String> image = const Value.absent(), Value<String> name = const Value.absent(), Value<String> desc = const Value.absent(), Value<DateTime> updateAt = const Value.absent(), Value<DateTime> createAt = const Value.absent()})
const
CardsCompanion.insert({Value<int> id = const Value.absent(), required int userId, required String image, required String name, required String desc, required DateTime updateAt, required DateTime createAt})

Properties

createAt Value<DateTime>
final
desc Value<String>
final
hashCode int
The hash code for this object.
no setterinherited
id Value<int>
final
image Value<String>
final
name Value<String>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updateAt Value<DateTime>
final
userId Value<int>
final

Methods

copyWith({Value<int>? id, Value<int>? userId, Value<String>? image, Value<String>? name, Value<String>? desc, Value<DateTime>? updateAt, Value<DateTime>? createAt}) CardsCompanion
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toColumns(bool nullToAbsent) Map<String, Expression<Object>>
Converts this object into a map of column names to expressions to insert or update.
override
toString() String
A string representation of this object.
override

Operators

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

Static Methods

custom({Expression<int>? id, Expression<int>? userId, Expression<String>? image, Expression<String>? name, Expression<String>? desc, Expression<DateTime>? updateAt, Expression<DateTime>? createAt}) Insertable<CardModel>