UserRow class

Inheritance
Implemented types

Constructors

UserRow({required String id, required String num, String? name, String? bio, String? avatar, String? callCover, required int mutualContactsCount, required bool online, int? presenceIndex, String? status, required bool isDeleted, String? dialog, String? isBlocked, PreciseDateTime? lastSeenAt, required String contacts, required String ver, required String blockedVer, String? welcomeMessage})
const
UserRow.fromJson(Map<String, dynamic> json, {ValueSerializer? serializer})
factory

Properties

avatar String?
final
bio String?
final
blockedVer String
final
callCover String?
final
contacts String
final
dialog String?
final
hashCode int
The hash code for this object.
no setteroverride
id String
final
isBlocked String?
final
isDeleted bool
final
lastSeenAt PreciseDateTime?
final
mutualContactsCount int
final
name String?
final
num String
final
online bool
final
presenceIndex int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String?
final
ver String
final
welcomeMessage String?
final

Methods

copyWith({String? id, String? num, Value<String?> name = const Value.absent(), Value<String?> bio = const Value.absent(), Value<String?> avatar = const Value.absent(), Value<String?> callCover = const Value.absent(), int? mutualContactsCount, bool? online, Value<int?> presenceIndex = const Value.absent(), Value<String?> status = const Value.absent(), bool? isDeleted, Value<String?> dialog = const Value.absent(), Value<String?> isBlocked = const Value.absent(), Value<PreciseDateTime?> lastSeenAt = const Value.absent(), String? contacts, String? ver, String? blockedVer, Value<String?> welcomeMessage = const Value.absent()}) UserRow
copyWithCompanion(UsersCompanion data) UserRow
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) UsersCompanion
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