copyWith method
ConversationItemLastMessage
copyWith(
{ - int? lastTime,
- int? lastSequence,
- String? fromAccount,
- String? messageForShow,
- ConversationItemLastMessagePayload? payload,
- String? type,
- bool? isRevoked,
- dynamic cloudCustomData,
- bool? onlineOnlyFlag,
- String? nick,
- String? nameCard,
- int? version,
- bool? isPeerRead,
- dynamic revoker,
})
Implementation
ConversationItemLastMessage copyWith({
int? lastTime,
int? lastSequence,
String? fromAccount,
String? messageForShow,
ConversationItemLastMessagePayload? payload,
String? type,
bool? isRevoked,
dynamic cloudCustomData,
bool? onlineOnlyFlag,
String? nick,
String? nameCard,
int? version,
bool? isPeerRead,
dynamic revoker,
}) {
return ConversationItemLastMessage()
..lastTime = lastTime ?? this.lastTime
..lastSequence = lastSequence ?? this.lastSequence
..fromAccount = fromAccount ?? this.fromAccount
..messageForShow = messageForShow ?? this.messageForShow
..payload = payload ?? this.payload
..type = type ?? this.type
..isRevoked = isRevoked ?? this.isRevoked
..cloudCustomData = cloudCustomData ?? this.cloudCustomData
..onlineOnlyFlag = onlineOnlyFlag ?? this.onlineOnlyFlag
..nick = nick ?? this.nick
..nameCard = nameCard ?? this.nameCard
..version = version ?? this.version
..isPeerRead = isPeerRead ?? this.isPeerRead
..revoker = revoker ?? this.revoker;
}