copyWith method

ChatMemberRow copyWith({
  1. String? userId,
  2. String? chatId,
  3. PreciseDateTime? joinedAt,
  4. Value<String?> cursor = const Value.absent(),
})

Implementation

ChatMemberRow copyWith({
  String? userId,
  String? chatId,
  PreciseDateTime? joinedAt,
  Value<String?> cursor = const Value.absent(),
}) => ChatMemberRow(
  userId: userId ?? this.userId,
  chatId: chatId ?? this.chatId,
  joinedAt: joinedAt ?? this.joinedAt,
  cursor: cursor.present ? cursor.value : this.cursor,
);