ChatRow class

Inheritance
Implemented types

Constructors

ChatRow({required String id, String? avatar, String? name, required String members, required int kindIndex, required bool isHidden, String? muted, String? directLink, required PreciseDateTime createdAt, required PreciseDateTime updatedAt, required String lastReads, PreciseDateTime? lastDelivery, String? firstItem, String? lastItem, String? lastReadItem, required int unreadCount, required int totalCount, String? ongoingCall, double? favoritePosition, required int membersCount, required String ver, String? lastItemCursor, String? lastReadItemCursor, String? recentCursor, String? favoriteCursor})
const
ChatRow.fromJson(Map<String, dynamic> json, {ValueSerializer? serializer})
factory

Properties

avatar String?
final
createdAt PreciseDateTime
final
final
favoriteCursor String?
final
favoritePosition double?
final
firstItem String?
final
hashCode int
The hash code for this object.
no setteroverride
id String
final
isHidden bool
final
kindIndex int
final
lastDelivery PreciseDateTime?
final
lastItem String?
final
lastItemCursor String?
final
lastReadItem String?
final
lastReadItemCursor String?
final
lastReads String
final
members String
final
membersCount int
final
muted String?
final
name String?
final
ongoingCall String?
final
recentCursor String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalCount int
final
unreadCount int
final
updatedAt PreciseDateTime
final
ver String
final

Methods

copyWith({String? id, Value<String?> avatar = const Value.absent(), Value<String?> name = const Value.absent(), String? members, int? kindIndex, bool? isHidden, Value<String?> muted = const Value.absent(), Value<String?> directLink = const Value.absent(), PreciseDateTime? createdAt, PreciseDateTime? updatedAt, String? lastReads, Value<PreciseDateTime?> lastDelivery = const Value.absent(), Value<String?> firstItem = const Value.absent(), Value<String?> lastItem = const Value.absent(), Value<String?> lastReadItem = const Value.absent(), int? unreadCount, int? totalCount, Value<String?> ongoingCall = const Value.absent(), Value<double?> favoritePosition = const Value.absent(), int? membersCount, String? ver, Value<String?> lastItemCursor = const Value.absent(), Value<String?> lastReadItemCursor = const Value.absent(), Value<String?> recentCursor = const Value.absent(), Value<String?> favoriteCursor = const Value.absent()}) ChatRow
copyWithCompanion(ChatsCompanion data) ChatRow
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
toCompanion(bool nullToAbsent) ChatsCompanion
toJson({ValueSerializer? serializer}) Map<String, dynamic>
Converts this object into a representation that can be encoded with json. The serializer can be used to configure how individual values will be encoded. By default, DriftRuntimeOptions.defaultSerializer will be used. See ValueSerializer.defaults for details.
override
toJsonString({ValueSerializer? serializer}) String
Converts this object into a json representation. The serializer can be used to configure how individual values will be encoded. By default, DriftRuntimeOptions.defaultSerializer will be used. See ValueSerializer.defaults for details.
inherited
toString() String
A string representation of this object.
override

Operators

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