MyUserRow class

Inheritance
Implemented types

Constructors

MyUserRow({required String id, required String num, String? login, String? name, String? bio, required bool hasPassword, required String emails, required String phones, String? chatDirectLink, required int unreadChatsCount, String? status, String? avatar, String? callCover, required int presenceIndex, required bool online, String? muted, int? blocklistCount, PreciseDateTime? lastSeenAt, required String ver, String? welcomeMessage})
const
MyUserRow.fromJson(Map<String, dynamic> json, {ValueSerializer? serializer})
factory

Properties

avatar String?
final
bio String?
final
blocklistCount int?
final
callCover String?
final
final
emails String
final
hashCode int
The hash code for this object.
no setteroverride
hasPassword bool
final
id String
final
lastSeenAt PreciseDateTime?
final
login String?
final
muted String?
final
name String?
final
num String
final
online bool
final
phones String
final
presenceIndex int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String?
final
unreadChatsCount int
final
ver String
final
welcomeMessage String?
final

Methods

copyWith({String? id, String? num, Value<String?> login = const Value.absent(), Value<String?> name = const Value.absent(), Value<String?> bio = const Value.absent(), bool? hasPassword, String? emails, String? phones, Value<String?> chatDirectLink = const Value.absent(), int? unreadChatsCount, Value<String?> status = const Value.absent(), Value<String?> avatar = const Value.absent(), Value<String?> callCover = const Value.absent(), int? presenceIndex, bool? online, Value<String?> muted = const Value.absent(), Value<int?> blocklistCount = const Value.absent(), Value<PreciseDateTime?> lastSeenAt = const Value.absent(), String? ver, Value<String?> welcomeMessage = const Value.absent()}) MyUserRow
copyWithCompanion(MyUsersCompanion data) MyUserRow
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) MyUsersCompanion
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