copyWith method
Implementation
MessagePosition copyWith({
int? position,
int? messageId,
int? date,
}) => MessagePosition(
position: position ?? this.position,
messageId: messageId ?? this.messageId,
date: date ?? this.date,
);
MessagePosition copyWith({
int? position,
int? messageId,
int? date,
}) => MessagePosition(
position: position ?? this.position,
messageId: messageId ?? this.messageId,
date: date ?? this.date,
);