copyWith method
Data
copyWith(
{ - String? companyUid,
- String? contactUid,
- DateTime? createdAt,
- int? id,
- String? message,
- String? messageFrom,
- String? messageType,
- String? platform,
- String? recipientId,
- String? senderId,
- String? status,
- String? timestamp,
- String? uid,
- DateTime? updatedAt,
})
Implementation
Data copyWith({
String? companyUid,
String? contactUid,
DateTime? createdAt,
int? id,
String? message,
String? messageFrom,
String? messageType,
String? platform,
String? recipientId,
String? senderId,
String? status,
String? timestamp,
String? twitterMessageUid,
String? uid,
DateTime? updatedAt,
}) {
return Data(
companyUid: companyUid ?? this.companyUid,
contactUid: contactUid ?? this.contactUid,
createdAt: createdAt ?? this.createdAt,
id: id ?? this.id,
message: message ?? this.message,
messageFrom: messageFrom ?? this.messageFrom,
messageType: messageType ?? this.messageType,
platform: platform ?? this.platform,
recipientId: recipientId ?? this.recipientId,
senderId: senderId ?? this.senderId,
status: status ?? this.status,
timestamp: timestamp ?? this.timestamp,
twitterMessageUid: twitterMessageUid ?? this.twitterMessageUid,
uid: uid ?? this.uid,
updatedAt: updatedAt ?? this.updatedAt,
);
}