CacheItemsCompanion class
Constructors
-
CacheItemsCompanion({Value<
String> key = const Value.absent(), Value<String> data = const Value.absent(), Value<DateTime> createdAt = const Value.absent(), Value<DateTime> expiresAt = const Value.absent(), Value<int> priority = const Value.absent(), Value<int> size = const Value.absent(), Value<int> rowid = const Value.absent()}) -
const
-
CacheItemsCompanion.insert({required String key, required String data, required DateTime createdAt, required DateTime expiresAt, Value<
int> priority = const Value.absent(), required int size, Value<int> rowid = const Value.absent()})
Properties
-
createdAt
→ Value<
DateTime> -
final
-
data
→ Value<
String> -
final
-
expiresAt
→ Value<
DateTime> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
key
→ Value<
String> -
final
-
priority
→ Value<
int> -
final
-
rowid
→ Value<
int> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
size
→ Value<
int> -
final
Methods
-
copyWith(
{Value< String> ? key, Value<String> ? data, Value<DateTime> ? createdAt, Value<DateTime> ? expiresAt, Value<int> ? priority, Value<int> ? size, Value<int> ? rowid}) → CacheItemsCompanion -
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.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited