CollectionCompanion class Null safety

Inheritance

Constructors

CollectionCompanion({Value<String> id = const Value.absent(), Value<DateTime> created = const Value.absent(), Value<DateTime> updated = const Value.absent(), Value<CollectionType> type = const Value.absent(), Value<String> name = const Value.absent(), Value<bool> system = const Value.absent(), Value<String?> listRule = const Value.absent(), Value<String?> viewRule = const Value.absent(), Value<String?> createRule = const Value.absent(), Value<String?> updateRule = const Value.absent(), Value<String?> deleteRule = const Value.absent(), Value<String> extra = const Value.absent()})
const
CollectionCompanion.insert({required String id, required DateTime created, required DateTime updated, required CollectionType type, required String name, required bool system, Value<String?> listRule = const Value.absent(), Value<String?> viewRule = const Value.absent(), Value<String?> createRule = const Value.absent(), Value<String?> updateRule = const Value.absent(), Value<String?> deleteRule = const Value.absent(), required String extra})

Properties

created Value<DateTime>
final
createRule Value<String?>
final
deleteRule Value<String?>
final
extra Value<String>
final
hashCode int
The hash code for this object.
read-onlyinherited
id Value<String>
final
listRule Value<String?>
final
name Value<String>
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
system Value<bool>
final
type Value<CollectionType>
final
updated Value<DateTime>
final
updateRule Value<String?>
final
viewRule Value<String?>
final

Methods

copyWith({Value<String>? id, Value<DateTime>? created, Value<DateTime>? updated, Value<CollectionType>? type, Value<String>? name, Value<bool>? system, Value<String?>? listRule, Value<String?>? viewRule, Value<String?>? createRule, Value<String?>? updateRule, Value<String?>? deleteRule, Value<String>? extra}) CollectionCompanion
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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<String>? id, Expression<DateTime>? created, Expression<DateTime>? updated, Expression<String>? type, Expression<String>? name, Expression<bool>? system, Expression<String>? listRule, Expression<String>? viewRule, Expression<String>? createRule, Expression<String>? updateRule, Expression<String>? deleteRule, Expression<String>? extra}) Insertable<CollectionData>