copyWith method
Implementation
Twitter copyWith({
int? id,
String? uid,
String? companyUid,
String? pageId,
String? payload,
String? accessToken,
String? status,
DateTime? createdAt,
DateTime? updatedAt,
}) {
return Twitter(
id: id ?? this.id,
uid: uid ?? this.uid,
companyUid: companyUid ?? this.companyUid,
pageId: pageId ?? this.pageId,
payload: payload ?? this.payload,
accessToken: accessToken ?? this.accessToken,
status: status ?? this.status,
createdAt: createdAt ?? this.createdAt,
updatedAt: updatedAt ?? this.updatedAt,
);
}